A plan to bring generic collections to Go 1.28
#612 — July 31, 2026
Go Weekly
Go's Proposals for Generic Collection Types in Go 1.28 — An umbrella proposal from Go's Collections working group covering several collection data structures intended for the eventual Go 1.28 standard library. Includes a canonical set.Set type, hash-based maps and sets with custom hashers, an ordered map, and a new generic binary heap.
Alan Donovan (Go Team)
Top Open-Source Code Reviewer on Code-Review-Bench — pr-af, AgentField's open-source reviewer, just outranked leading closed models — #2 of 42 on Code-Review-Bench. Multi-agent PR review with ~3× more valid findings than closed tools at ~10× lower cost. Self-hosted, drops into GitHub Actions.
Agentfield.ai sponsor
Watching Go's New Garbage Collector Move Through the Heap — Green Tea became the default GC in Go 1.26, and Phil goes looking with perf and an ASCII map of the heap. Go lays objects out in size-segregated spans and never moves them, which can mean freeing 90% of your objects frees almost no memory.
Phil Eaton
IN BRIEF:
- All being well, Go 1.27 is expected to land in the next couple of weeks, but the draft Go 1.27 release notes have been fleshed out some more if you want to get ahead of it.
-
go vetis now set to flag formatting pointers with%dinprintf. - Eitam Ring teases KinetiGo, a TinyGo-based toolchain for working with LEGO robotics devices.
- Stacked pull requests are now in public preview on GitHub.
Supervised Fire-and-Forget Tasks in Go — How to run 'fire and forget' tasks with bounded concurrency, panic recovery, and graceful shutdown, instead of bare go func() calls.
Redowan Delowar
Adding Go to a Browser Code Runner — A look at adding Go to a browser code runner, why the usual GOOS=js approach didn't work in a V8 isolate, and how compiling the Yaegi interpreter to WASI got it working cleanly.
Ata Kuyumcu
pgx.CollectRows or Why Nice APIs Don't Have To Be Slow — pgx's CollectRows and RowToStructByName helpers were much slower than handwritten loops. The author got caching fixes into pgx 5.6 (released in 2024) and shows how a rethought abstraction closes the gap almost entirely.
zolstein
A Second Database Is a Dependency You Can Skip — TimescaleDB extends Postgres for analytics at scale, no new service to run. Get $1000 credit to start.
Tiger Data (creators of TimescaleDB) sponsor
📄 Wrapping Errors with Defer – A small pattern combining defer with a named error result to avoid repetition while still adding context to errors. Roxy Light
📄 Go's Maps: How Swiss Tables Replaced the Old Bucket Design Gabor Koos
🛠 Code & Tools
Gore 0.7: A Full-Featured Go REPL Environment — Has all the niceties you'd expect like line editing, history, multi-line input, expression evaluation, the ability to import packages (and, in v0.7, you can create import aliases too) and gopls-powered code completion.
motemen
Goph 2.0: A Native Go SSH Client Library — Supports connections using passwords, private keys, keys with passphrases, doing file transfers, etc. v2 brings a functional options API, context-aware commands, SOCKS5 proxy, jump hosts, and more.
Mohamed El Bahja
🖼️ webp-go-pure: Pure Go WebP Encoding and Decoding — A pure Go WebP encoder/decoder for when you want to avoid cgo and libwebp.
Kaan Barmore-Genc
soup 2.0: A Beautiful Soup-Inspired Web Scraper — Takes inspiration from Python's popular Beautiful Soup and provides functions for loading and parsing pages and then navigating or reading the elements on them.
Anas Khan
- Wish 2.0.2 – Charm's SSH server framework for building terminal-accessible apps. v2.0.2 fixes a bug with apps running under
bubbletea.Middleware. - jsonparser 1.6 – Fast JSON parser offering path-based access without predefined structs and minimal allocations.
- Milvus 3.0 – Go-powered cloud-native vector database built for vector ANN search. (Repo.)
- req 3.60 – Simple, powerful HTTP client library with advanced features.