pocketgopher.hashnode.devUnit Testing in Go - A Beginner's GuideMy latest FreeCodeCamp article covers unit testing in Go, why it matters, and practical examples for writing cleaner, more testable code. Check it out here: https://www.freecodecamp.org/news/unit-testing-in-go-a-beginners-guide/Jan 14·1 min read
freecodecamp.orgUnit Testing in Go - A Beginner's GuideIf you're learning Go and you’re already familiar with the idea of unit testing, the main challenge is usually not why to test, but how to test in Go. Go takes a deliberately minimal approach to testing. There are no built-in assertions, no annotatio...Jan 12·15 min read
pocketgopher.hashnode.devThe Go Build System: Optimised for Humans and MachinesIntroduction: The Illusion of Simplicity You probably type go build or go run dozens of times every week without thinking much about what happens under the hood. On the surface, these commands feel almost magical: you press Enter, and suddenly your c...Jan 9·18 min read
freecodecamp.orgHow to Use Closures in GoIf you've written code in JavaScript, Python, or Rust, you've probably heard the word closure before. The concept has subtle differences in each language, but the core idea is the same: a closure is a function that captures variables from its surroun...Oct 27, 2025·14 min read
pocketgopher.hashnode.devGarbage Collection in Go: From Reference Counting to Tri-Color to Green TeaIntroduction Garbage collection (GC) is one of the most critical components of any modern programming language runtime. It decides how and when memory is reclaimed, directly impacting latency, throughput, and the overall responsiveness of application...Oct 12, 2025·15 min read