News
Go: Can It Mitigate Supply Chain Attacks?
All together this means it’s possible to build rich, complex applications with just a handful of dependencies. No matter how good...
Clean Code: Functions and Error Handling in Go: From Chaos to Clarity [Part 1]
- Keep functions under 50 lines (The Screen Rule)- One function = one responsibility - Use early returns instead of nested if st...
A Guide to Familiarize Yourself With Workspaces in Go
Workspaces in Go 1.18 let you work on multiple modules simultaneously without having to edit go.mod files for each module. Each mo...
Building a Simple REST API in Go Without Frameworks
This guide walks through building a simple RESTful API in Go from scratch—no frameworks, just Go’s net/http package. It covers set...
How to Organize Your Go Projects Like a Pro
Learn how to structure Go code the right way: from single-file projects to packages, internal modules, and proper imports, explain...
Go: When Should You Use Generics? When Shouldn't You?
To be clear, I’ll provide general guidelines, not hard and fast rules. Use your own judgement. But if you aren’t sure, I recommend...
Here's What You Need to Know About Vulnerability Management for Go
Go provides tooling to analyze your codebase and surface known vulnerabilities. This tooling is backed by the Go vulnerability dat...
Go Project Templates: How to Get Started
Anyone can write templates, which are packaged and distributed as modules, leveraging the Go module proxy and checksum database fo...
Everything You Need to Know About All Comparable Types
In this blog post, we hope to shine some light on the language mechanics behind all comparable types.
A Beginner's Guide to Code Coverage for Go Integration Tests
In this blog post we’ll give an example of how these new features work, and outline some of the use cases and workflow for collect...
Inside Go Channels: Buffers, Locks, and the Runtime Memory Model
Go channels are a core concurrency feature designed to safely coordinate goroutines without manual locks. Beneath their simple syn...
