Golang Weekly - An interactive tour of Go 1.24

Plus generating random art, sending emails, and a variety of gopher images you can use. |

#​538 — January 15, 2025

Unsub  |  Web Version

Together with  Posthog

Go Weekly

An Interactive Tour of Go 1.24 — A list of all the significant new 1.24 features. Each is accompanied by interactive, runnable examples so you can see generic type aliases in action, make (and clean up) weak pointers, play with file access, and see benchmarks for the new faster map implementation. Go 1.24 is expected to land in the next month or two, with RC2 likely later this week.

Anton Zhiyanov

💡 If you've not experienced Anton's Go tours before, you might also enjoy the Go 1.23 interactive tour.

The First Newsletter Dedicated to Product Engineers — The fastest growing startups increasingly rely on product engineers. They can both figure out what to build and actually build it. Product for Engineers is dedicated to sharing the skills and strategies needed to succeed in this role.

PostHog sponsor

if got, want: A Simple Way to Write Better Go Tests“There’s an excellent Go testing pattern that too few people know. I can teach it to you in 30 seconds” is quite the pitch. The trick is using both assignments and a comparison on a single if line to make a test easier to read — it’s even used in the standard library.

Michael Lynch

Gophers Pack: A Collection of Gopher Pictures and Design Elements — If you want some handy Go gopher themed images to use for a project, blog post, or presentation, this myriad of cute CC0 (public domainish) elements could be a big help. We use them a lot in this newsletter and Maria has recently added a variety of winter themed options.

Maria Letta

A Practical Example of Dependency Inversion using Plugins — An example of using Clean Architecture principles with Go’s plugin package to create an app that’s adaptable and extendable without modifying the core source code.

Christian Ekrem

Realizing Why Go Reflection Restricts What Struct Fields Can Be Modified — Private (unexported) fields can’t be modified, even when using reflection. When looking at this through Rust-colored glasses, it makes more sense.

Chris Siebenmann

📄 How HTTP/2 Works and How to Enable It in Go – One of Phuong’s typically thorough explanations. Phuong Le

📄 Designing a Distributed Circuit Breaker for Disabling Webhook Endpoints – If you’re consuming a lot of third-party APIs, this could help keep your queues from clogging. Raymond Tukpe (Core Gateway)

📺 The Creator of Ghostty Talks Zig over Go – Controversial. Mitchell Hashimoto (of HashiCorp fame) has recently built Ghostty, a fast new terminal emulator, in Zig. But why not Go? ThePrimeTime

📺 Implementing a Random Art Generation Algorithm – A thorough walkthrough of a way to generate curious graphical elements. package main

📄 Making 'Beautiful' API Keys – Making auth tokens/keys more attractive probably shouldn’t be a priority, but if you want/need to, uuidkey may be for you. Jack Spirou (AgentStation)

📄 Modifying Private Variables of a Struct with unsafe and reflect – Remember it’s called unsafe for a reason... Darshan N A

📄 Scaling LLMs with Go: How We Serve Millions of LLM Requests John Wang (Assembled)

📄 We Removed 335 LOC with One Go Package – Going from generating a huge number of ffmpeg directives to a cloud-based audio transformation approach. Poxate

📄 How rqlite, a Go-Powered SQLite-Based Database, is Tested Philip O'Toole

🛠 Code & Tools

go-mail v0.6: A Library for Sending Emails — If you’ve got email to send, go-mail can do the job. v0.6 adds support for S/IME signing, SMTP auth auto-discovery, Unix domain socket support, and a ‘quick send’ feature.

Winni Neessen et al.

ebpf-go 0.17: A Way to Work with eBPF from Go — A pure Go library to read, modify and load eBPF programs for use directly by the Linux kernel (eBPF is a neat technology worth exploring if you’re not familiar with it yet). The new 0.17 release requires Go 1.22+ and introduces a new API to work with global variables.

Beckers et al.

go-haystack: Track Personal Devices via Apple's 'Find My' Network — An interesting way to track personal Bluetooth devices via Apple’s massive “Find My” network by way of TinyGo and a little extra hardware.

Ron Evans

  • GoCV 0.40 – The Go bindings for OpenCV 4 add support for OpenCV 4.11.0.

  • pgxmock 4.4 – Mock driver to test Postgres interactions in Go.

  • Cloudflare Go 4.0 – Official library for the Cloudflare API.

  • FrankenPHP 1.4 – Modern Go-powered PHP app server.

n

Older messages

The latest Go dev survey results

Wednesday, January 8, 2025

Plus it's time to say goodbye to the Go Time podcast. | #​537 — January 8, 2025 Unsub | Web Version Happy New Year to all. In case you missed our note prior to the Christmas break, Go Weekly is now

A look back at Go's 2024

Thursday, December 19, 2024

Plus a little look forward to 2025 too with Go 1.24. | #​536 — December 17, 2024 Unsub | Web Version 🎄 A mixed bag this week as we cover a few news items but then get into a 2024 roundup of Go news and

What's missing from Go's generics?

Tuesday, December 10, 2024

Plus Go 1.23.4 sounds nice, comparing templating approaches, and soft serve yourself a git server. | #​535 — December 10, 2024 Unsub | Web Version Together with Frontend Masters logo Go Weekly 🕒 Coming

Why Go slices throw up surprises

Tuesday, December 3, 2024

Plus a look forward to Go 1.24, and a Go-powered alternative to Google Analytics. | #​534 — December 3, 2024 Unsub | Web Version Together with Google Go Weekly The Draft Go 1.24 Release Notes — Last

What's coming in Go 1.24

Tuesday, November 26, 2024

Plus Brad Fitzpatrick on complexity and Go. | #​533 — November 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go's

You Might Also Like

That Loving Feeling

Wednesday, March 26, 2025

OpenAI's product launches are stirring something which Apple hasn't in a while That Loving Feeling OpenAI's product launches are stirring something which Apple hasn't in a while By MG

JSK Daily for Mar 26, 2025

Wednesday, March 26, 2025

JSK Daily for Mar 26, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Easily Render Flat JSON Data in JavaScript File Manager The Syncfusion JavaScript File

How and why PlanetScale built a VM in Go

Wednesday, March 26, 2025

Plus running Go code on the PlayStation 2. | #​547 — March 26, 2025 Unsub | Web Version Together with Stytch logo Go Weekly Go on the PlayStation 2 — If you like tinkering with consoles and shoe-

Daily Coding Problem: Problem #1729 [Medium]

Wednesday, March 26, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Mailchimp. You are given an array representing the heights of neighboring buildings on a

Ranked | The Most Popular AI Tools in 2025 📊

Wednesday, March 26, 2025

ChatGPT remains the most widely used AI tool, with 4.7 billion monthly site visits—far surpassing all other platforms. View Online | Subscribe | Download Our App NEW REPORT: The Age of Data >>

Nobody Wants to Pay for Apps Anymore—Except When AI Is Involved

Wednesday, March 26, 2025

Top Tech Content sent at Noon! Get Inside AI: Code, Learn, and Get Paid! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, March 26, 2025? The

Rsdoctor build analyzer; Corepack removed from Node.js; migrating to ESM; Intl.DurationFormat

Wednesday, March 26, 2025

We have 8 links for you - the latest on JavaScript and tools Rsdoctor 1.0: build analyzer for Rspack that's compatible with webpack rsdoctor.dev github.com/web-infra-dev “Rsdoctor is committed to

Software Testing Weekly - Issue 263

Wednesday, March 26, 2025

Is it common for devs to dislike QA? 🧐 View on the Web Archives ISSUE 263 March 26th 2025 COMMENT Welcome to the 263rd issue! This discussion blew up — Is it common for devs to dislike QA? While in

ChatGPT's shocking image upgrade

Wednesday, March 26, 2025

Linux kernel 6.14; Microsoft's new agents; Amazon Spring Sale -- Chabot loneliness ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The Future of Cyber Warfare: Don’t Miss the SANS Security West 2025 Keynote

Wednesday, March 26, 2025

Understand the future role of cyber in war, critical for anyone involved in security and defense. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌