2025-02-21

I built a new playground for Go, Pt, TS and more other, with Postgres... It supports program arguments, pretty output for JSON and I will add a lot feature soon
Please provide the content you would like me to summarize. I need the content to generate a summary that meets your requirements.
The Smallest Go Binary (5KB)
This whole adventure began because I wanted to write a C compiler in Go. I wanted to use Chibicc, a tiny C compiler, as a basis since I could start with the first commit and add each feature since each one is a separate commit. However, Chibicc uses ...

2025-02-20

Bite-Sized Tips to Avoid Deadlocks in Your Go Programs
Deadlocks occur when goroutines get stuck waiting for each other. This stops your program and can be difficult to debug. Avoiding deadlocks is key to writing efficient Go code.Tip 1: Close Channels…

2025-02-19

Before NATO goes away, A website to spell anything using NATO phonetic Alphabet
Convert text to NATO phonetic alphabet. Free online tool for military spelling alphabet conversion.
Dependency Injection in Go: Writing Modular & Testable Code
Go’s simplicity is its superpower — until your codebase grows into a labyrinth of rigid, untestable dependencies. We’ve all been there: you start with a few straightforward structs, but before you…
Testing concurrent code with testing/synctest - The Go Programming Language
Go 1.24 contains an experimental package to aid in testing concurrent code.
Nil channels in Go
A friend from work messaged me today that they had a hard time because they had used var c chan int instead of c := make(chan int) in their Go code. I responded by saying that I usually have one rule