Some packages need to be aliased frequently as they have a name you would rather use as a variable, collide with another package you need to import, o
Observability in Go, from signals to alerting
The pick of the day is a long piece on observability in Go that argues from measurement rather than rule of thumb, covering signal placement, cardinality, dashboards, alerting, and PII across metrics, logs, and traces. It pairs naturally with a reddit thread on hunting goroutine leaks in a long-running CLI, which is exactly the kind of thing decent instrumentation is supposed to make visible before the memory graph does. Elsewhere, a goimports proposal floats a config file for package aliases, and someone announces list2regexp for turning string lists into regexes, which is a pleasingly specific problem to have solved.

The pick of the day is a long piece on observability in Go that argues from measurement rather than rule of thumb, covering signal placement, cardinality, dashboards, alerting, and PII across metrics, logs, and traces. It pairs naturally with a reddit thread on hunting goroutine leaks in a long-running CLI, which is exactly the kind of thing decent instrumentation is supposed to make visible before the memory graph does. Elsewhere, a goimports proposal floats a config file for package aliases, and someone announces list2regexp for turning string lists into regexes, which is a pleasingly specific problem to have solved.
Concurrency is less about “starting async work” and more about owning its lifecycle. In .NET, I’m used to thinking in terms of Task, async/await, and CancellationToken. With Go, simply writing:
Hello developers, I would like to share all code I developed in the last 4 years. It is a trading platform made in Go and split into several microservices. What you can find here: A (small) gateway in
https://codeberg.org/tslocum/list2regexp Here is an example. Given the following list of strings: 1.2.3.4 127.0.0.1 127.0.0.2 127.0.0.11 128.0.0.1 125.0.0. 200.0.0.1 2001:0db8:85a3:0000:0000:8a2e:0370
Hello. I'm seeing a goroutine scheduling oddity that I don't understand. Can anyone explain why this is? I have a function which occasionally writes to a file. I noticed that this was taking longer th
What actually holds up when you build observability into a Go service, backed by a real measurement instead of a rule of thumb - signal placement, cardinality, dashboards, alerting, and PII, not anoth
I'm running into what I suspect is a goroutine leak in a CLI tool I'm building. Long-running commands seem to leave goroutines hanging around after the operation should be done, and memory creeps up o
It took a while to marry together an architecture that supported server-side events while making sure the rest of the application was decoupled from them. I found that a lot of posts were myopic and s
First thing first, shout-out to the engineer who created wails. For learning purposes, I went into the rabbit hole of trying to convert go binary to desktop app and now android mobile app. The wails3
Join EUG Go @ Eugene, US on Wed Oct 7
TL;DR: We open-sourced SeaSearch , an Elasticsearch-compatible search engine that keeps...
A step-by-step look at TypeScript 7's Go AST design: shared node data, syntax-specific data, discriminated unions, and a small Go implementation.
A few months back, I asked an AI assistant to “write a function that validates user input” and got back something that technically ran… Continue reading on Medium »
Stop shipping the factory along with the product Continue reading on Medium »
PVS-Studio 8.0 is here! We added support for Go project analysis and much more. Continue reading on PVS-Studio »
Pick A, B, or C and watch the surprising result. golang codequiz programming.
In this stream we analyze a Golang loader that drops and exploits drivers (also known as Bring Your Own Vulnerable Driver or ...
A single colon turned a caught error into a silent success in Google's gRPC library. It was reviewed, approved, merged, and fixed ...
Khám phá cách một LLM Gateway cho OpenAI/Anthropic viết bằng Golang xử lý nhiều nhà cung cấp, thử lại và dự phòng.
Stop searching Go slices with tedious for-loops! In Go 1.21+, use the built-in function for clean, idiomatic 1-line ...

$150k–$250k