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

JSK Daily for Jul 4, 2024

Thursday, July 4, 2024

JSK Daily for Jul 4, 2024 View this email in your browser A community curated daily e-mail of JavaScript news How to Use Callback Functions in JavaScript When you're building dynamic applications

🕹️ Should Old Games Get Remade? — Using Your Apple Watch for Sleep Tracking

Thursday, July 4, 2024

Also: Motorola Phones That'll Get Android 15, and More! How-To Geek Logo July 4, 2024 Did You Know Despite the long-standing belief that Orson Wells' infamous War of the Worlds radio broadcast

Daily Coding Problem: Problem #1486 [Medium]

Thursday, July 4, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. Given a linked list of numbers and a pivot k , partition the linked list so

Ranked | Which Countries Have the Most Millionaires and Billionaires? 💰

Thursday, July 4, 2024

The US has more millionaires than Ireland has people. Here's a list of other countries with the most millionaires. View Online | Subscribe Voronoi: The App Where Data Tells the Story FEATURED STORY

Invest in the asset class predicted to grow $700 million by 2026

Thursday, July 4, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life How Masterworks Aims to Beat the Art Market It's no secret that contemporary art prices have outpaced the S&P 500 by 64% over the last 28

Issue 322 - Non-employee testers review FSD v12.4.2

Thursday, July 4, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 322 - Non

This Week in Rust #554

Thursday, July 4, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 554 — 03 JUL 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

At the Forefront of AI Research: Multimodality, Agents, Open-Source LLM, and Beyond

Thursday, July 4, 2024

Top Tech Content sent at Noon! Tackle your credit card debt with 0% interest until nearly 2026 Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, July 4

PHPWeekly July 4th 2024

Thursday, July 4, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 4th July 2024 Hi everyone, This week's newsletter contains

Programmer Weekly - Issue 212

Thursday, July 4, 2024

View this email in your browser Programmer Weekly Welcome to issue 212 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "A language that doesn't affect