Go Visitor Pattern: Learn from kubectl Implementation

Discover how Kubernetes kubectl implements the Visitor design pattern in Go using functional programming.

July 4, 2025 · 6 min · Garry Chen

Go Inversion of Control Guide: Struct Embedding & Design

Master Go’s Inversion of Control using struct embedding, polymorphism, and dependency inversion. Learn to separate control logic from business logic with practical examples including undo functionality and reusable design patterns.

July 2, 2025 · 6 min · Garry Chen

Go Functional Options Pattern Guide: Clean API Design

Learn the popular Functional Options pattern in Go for building clean, configurable APIs that are easy to use, maintain, and extend without complex constructors or configuration structs.

June 30, 2025 · 4 min · Garry Chen