Design Patterns
August 3, 2025
goGateway pattern for external service callsSeparate business logic from external service calls using the Gateway pattern. Apply dependency inversion and interface segregation in Go.
October 6, 2024
goWriting a circuit breaker in GoBuild a production-ready circuit breaker in Go from scratch with closed, open, and half-open states to prevent cascading failures.
September 5, 2023
goConfiguring options in GoCompare three Go option patterns: exposed structs, option constructors, and functional options. Learn when to use each for clean APIs.