Golang Weekly - Writing generic collection types

Plus Russ Cox's new bot, using Go from JavaScript, and the River job queue gets a UI. |

#​513 — July 2, 2024

Unsub  |  Web Version

Together with  Ardan Labs

Go Weekly

Writing Generic Collection Types: The Missing Documentation — Go 1.18 introduced generics, but the author found practical examples and documentation on creating generic collections to be lacking. Luckily, he’s done the experimentation for us and shares what he learnt after many hours of spinning his wheels on the problem.

Zach Musgrave

Realtime Diagnostic Logging (or 'How to Really Spy on Your Go Web Apps') — An exploration of some options to temporarily enable verbose logging for troubleshooting purposes and making those logs accessible from anywhere and in real-time.

Vladimir Dementyev

Go! Unlock Your Tech Potential with Ardan Labs Consulting — Struggling with skill gaps, development speed or complex tech challenges? Ardan Labs specializes in Go, Rust, Docker and K8s to accelerate your software development, optimize architecture, and manage tech debt. Let us supercharge your team!

Ardan Labs Consulting sponsor

IN BRIEF:

How to Use a Go Library on a Web Page with WebAssembly — Compiling Go code to WebAssembly opens up some interesting opportunities in the browser.

Thomas Derflinger

📄 f-tests as a Replacement for Table-Driven Tests in Go Aliaksandr Valialkin

📄 How to Do 'Hotword' Detection with Streaming Speech-to-Text and Go – Leans on AssemblyAI’s platform. Yasoob Khalid

📄 A Silly Mistake I Made with io.TeeReader Vishnu Bharathi

📄 gRPC: The Good Parts Kevin McDonald

🛠 Code & Tools

River: A Fast, Robust Job Queue for Go — A Postgres-backed background job system that encourages using the same database for your app and your jobs. v0.8 just landed, but the biggest recent addition is River UI, a way to more directly monitor and visualize what River is up to.

Brandur Leach et al.

SmoothMQ: A Drop-in Replacement for Amazon SQS — Simple Queue Service (SQS) is a distributed message queuing service offered as part of AWS. SmoothMQ offers the same API but in a single Go binary.

Jay Goel

Your Fastest Path to Production — Build, deploy, and scale your apps with unparalleled ease – from your first user to your billionth.

Render sponsor

🍪 Cookie: Cookies, But With Structs — Set, get, and remove cookies, both plaintext and signed.

Chase Pierce

  • lo 1.44 – Lodash-style Go library offering generic functions over slices, maps, channels, etc.

  • Chi 5.1 – Popular composable router for building Go HTTP services.

  • Vitess 20 – Go-powered horizontal scaling approach for MySQL.

  • 📊 go-echarts 2.4 – Charting and data visualization library.

  • GoBGP 3.28 – BGP implementation in Go.

  • fx 35.0 – Powerful terminal JSON viewer.

🎁 And one for fun

Doggo: A Go-Powered Command Line DNS Client — A DNS tool written in Go designed to be used at the terminal (not as a library). Well presented and a good example of a modern, Go-powered CLI tool. GitHub repo.

Karan Sharma

n

Older messages

Go 1.23 gets another step closer

Tuesday, June 25, 2024

Plus making a regex engine in Go, how to think about channels, and Bleve gets vector support. | #​512 — June 25, 2024 Unsub | Web Version ✈️ I've produced this issue a day early due to being en-

A quick Go quiz

Tuesday, June 18, 2024

Plus debates about Go 1.23 iterators, anti-patterns, and another Go web framework. | #​511 — June 18, 2024 Unsub | Web Version Together with Dragonfly Go Weekly Why People are 'Angry' Over Go

Errors, errors, and errors again

Tuesday, June 11, 2024

Plus another success story for profile-guided optimization. | #​510 — June 11, 2024 Unsub | Web Version Together with Frontend Masters logo Go Weekly An Applied Introduction to eBPF with Go — eBPF is a

Generating Go boilerplate from OpenAPI specs

Tuesday, June 4, 2024

Plus a look at some Go alternatives to using Makefiles. | #​509 — June 4, 2024 Unsub | Web Version 🫣 We took a break last week, but forgot to notify you in advance - sorry! You didn't miss anything

The Go team explains compiler optimizations

Tuesday, May 21, 2024

Plus the latest GoLand EAP begins. | #​508 — May 21, 2024 Unsub | Web Version Together with Flipt Go Weekly ▶ Boosting Performance of Go Apps with Optimizations — Three members of the Go team gave a

You Might Also Like

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,

🐧 Whatever Happened to Unix Workstations? — My Incredibly Cheap Alternative to a Soundbar

Saturday, December 21, 2024

Also: Here's Why More Games Need Expanded Difficulty Settings How-To Geek Logo December 21, 2024 Did You Know Lake Wendouree, an artificially created and maintained shallow urban lake in Australia,

Supercharge Your Knowledge Capture Workflow with the Obsidian Web Clipper

Saturday, December 21, 2024

Stop juggling multiple tools and supercharge your knowledge capture workflow with Obsidian's powerful Web Clipper browser extension Sébastien Dubois DeveloPassion's Newsletter Supercharge Your

Charted | The World's Most Valuable Automakers 🚙

Saturday, December 21, 2024

Tesla shares reached a record high, setting a new valuation milestone. This graphic highlights the world's most valuable automakers by market cap. View Online | Subscribe | Download Our App

Next Holiday Season, Ignore Everyone Except One Customer

Saturday, December 21, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 21, 2024? The

🐍 New Python tutorials on Real Python

Saturday, December 21, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: 🎓 Master Python's Core Principles (New Live

Post from Syncfusion Blogs on 12/21/2024

Saturday, December 21, 2024

New blogs from Syncfusion ASP.NET MVC Suite Update: Aligning with .NET Changes By Rajendran R Discover key updates in our ASP.NET MVC suite, aligning with Microsoft's latest .NET changes for

LockBit Ransomware Developer Charged for Billions in Global Damages

Saturday, December 21, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest