golang

Building 12-factor apps with Go on Kubernetes

Twelve ways to build more flexible, scalable and resilient apps in the cloud.

Exploring Generic Types in Go 2.0

Building a reflection-free, type-safe utility library for Go.

Escape Analysis in Go: Stack vs. Heap

Optimising code by easing pressure on the Garbage Collector.

Concurrency is not Parallelism

Wasting Goroutines on Conway’s Game of Life.

Flocking Gophers: The Boids Algorithm

Emergent flocking behaviour and predator evasion in Go.

Integration Testing in Go

How to test code works correctly together..

Unit testing in Go

How to test pieces of code in isolation.

Dependency Injection in Go

How to write modular, maintainable and testable Go applications.

SQL Database Migrations in Go

How to safely manage schema migrations in your Go microservice.

Configuring Go Applications with Viper and Cobra

How to configure your Go apps with environment variables and flags.

Structuring Projects in Go

Best practices for project layout when using Go.