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

Youre Overthinking It

Wednesday, January 15, 2025

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, January 15, 2025? The

eBook: Software Supply Chain Security for Dummies

Wednesday, January 15, 2025

Free access to this go-to-guide for invaluable insights and practical advice to secure your software supply chain. The Hacker News Software Supply Chain Security for Dummies There is no longer doubt

The 5 biggest AI prompting mistakes

Wednesday, January 15, 2025

✨ Better Pixel photos; How to quit Meta; The next TikTok? -- ZDNET ZDNET Tech Today - US January 15, 2025 ai-prompting-mistakes The five biggest mistakes people make when prompting an AI Ready to

Spyglass Dispatch: Bromo Sapiens

Wednesday, January 15, 2025

Masculine Startups • The Fall of Xbox • Meta's Misinformation Off Switch • TikTok's Switch Off The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely

The $1.9M client

Wednesday, January 15, 2025

Money matters, but this invisible currency matters more. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

⚙️ Federal data centers

Wednesday, January 15, 2025

Plus: Britain's AI roadmap ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 01/15/2025

Wednesday, January 15, 2025

New blogs from Syncfusion Introducing the New .NET MAUI Bottom Sheet Control By Naveenkumar Sanjeevirayan This blog explains the features of the Bottom Sheet control introduced in the Syncfusion .NET

The Sequence Engineering #469: Llama.cpp is The Framework for High Performce LLM Inference

Wednesday, January 15, 2025

One of the most popular inference framework for LLM apps that care about performance. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

3 Actively Exploited Zero-Day Flaws Patched in Microsoft's Latest Security Update

Wednesday, January 15, 2025

THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and