This is a proposal to add -static flag to go build . Producing a static build with go already requires a non-trivial amount of flags passed to go buil
go build gets a -static flag, go fix gets a second life
The accepted proposal to add a -static flag to go build is the substantive news, folding the pile of ldflags and build tags people currently paste from Stack Overflow into a single documented switch. Alongside it, two other accepted proposals land in the same batch: first-class handling of flaky tests in cmd/go, and ErrInsecurePath finally reaching archive/tar and archive/zip. Over on the discussion side, someone is enthusing about the rebuilt go fix in 1.26 running on the analysis framework, which pairs nicely with the recurring thread asking whether Go is drifting from its one-obvious-way roots.

The accepted proposal to add a -static flag to go build is the substantive news, folding the pile of ldflags and build tags people currently paste from Stack Overflow into a single documented switch. Alongside it, two other accepted proposals land in the same batch: first-class handling of flaky tests in cmd/go, and ErrInsecurePath finally reaching archive/tar and archive/zip. Over on the discussion side, someone is enthusing about the rebuilt go fix in 1.26 running on the analysis framework, which pairs nicely with the recurring thread asking whether Go is drifting from its one-obvious-way roots.
Background First off, flaky tests (a test that usually passes but sometimes fails) are the worst and you should not write them and fix them immediatel
This is an alternative fix for 25849, as proposed by @dsnet in https://github.com/golang/go/issues/25849 issuecomment-396685881. The archive/tar and a
If you haven't tried the new "go fix" yet, give it a spin. It's a proper revival of the old "gofix" idea. In Go 1.26, it was rebuilt on top of the Go analysis framework. So now it can modernize your c
One of the reasons I originally liked Go was its philosophy: there was usually one obvious way to solve a problem. That simplicity made codebases easier to read, easier to review, and easier for new d
Hi everyone! I’m currently in the early stages of learning Go. I see a lot of projects using Makefiles, and I’m wondering: should I dive into them right now, or is it better to focus purely on Go
When I have an endpoint with more than 10 business logic steps, my brain can't keep track of it all at once. So I end up drawing it out on paper: what functions exist, what each accepts, what it retur
I'm trying to understand the idiomatic Go approach for expressing non-nullability. As I understand it: A struct value can never be . A pointer ( ) can be , so it's commonly used when the absence of a
zenimate supports sprites of up to 32x24 cells (256x192) which is the size of a standard Spectrum screen, and it can import png, jpeg, and gif images (best fit, centre, and stretch modes). Conceivably
Most Go PDF libraries focus on drawing primitives or generating reports from templates. Over the last five years I've been working on a different approach: a layout engine that handles paragraphs, pag
A few mandatory features have been added to zenimate 0.6.1 if you would like to get the update. -- Drag frames to reorder them, right click on frame to insert, duplicate, delete, etc. -- UI elements s
Take a look at this example: we have a filter, take, skip and update. the take function wont run...
I come back to a project after a week off, and the first ten minutes always go the same way:...
As most AWS savings come from smarter infrastructure, not better Go code Continue reading on CodeX »
Turn grammar into code: a practical take on the Interpreter pattern in Go Continue reading on Medium »
Registration forms are one of the most overlooked parts of a product. Nobody talks about how to engineer one properly yet it is the entry… Continue reading on Medium »
Today I built a web page that fetches data from MariaDB and displays it in an HTML table using Go's native html/template package ...

On this week's episode, Kris and Matthew have a topic: tension. Not the bad kind you learn to avoid, but the productive kind that, like a code smell, is worth stopping to examine. They discuss the cha
golang idiomatic way to stop a for Helpful? Please use the Thanks button above! Or, thank me via Patreon: ...
Send push notifications to your phone or desktop using PUT/POST
Your own search engine
A powerful AI coding agent. Built for the terminal.
Crabbox: warm a box, sync the diff, run the suite.

performance-proofed GPU-enabled sandboxed docker container runners controlled by truly decentralized algorithms (not just PAXOS or RAFT).Wow, that was a mouthful...If you found it interesting, join Re
contact-center platform used by Dutch housing corporations and municipalities. Profitable, 40 people, 15+ years in market. Our platform runs reliably but the way we operate it is behind 2026 standards
thousands of teams, including Lovable, Raycast, and n8n. Fully bootstrapped, profitable, and growing fast.We’re building a full customer-facing suite where teams can handle their customer support, f