Code Wrench
Code Wrench
Mar 2, 2026 · Backend Development

Why Go Code Gets Bloated and How Blueprint Patterns Can Simplify It

The article reviews Mat Ryer’s *Go Programming Blueprints*, revealing why many Go projects become heavyweight, and presents three architectural truths—behavior‑oriented interfaces, Lego‑style CLI components, and an onion‑layered microservice model—illustrated with concrete code snippets and practical design guidelines for clean, maintainable backend systems.

GoGo-KitInterface Design
0 likes · 6 min read
Why Go Code Gets Bloated and How Blueprint Patterns Can Simplify It
Code Wrench
Code Wrench
Aug 2, 2025 · Backend Development

Build a Lego‑Style Go Microservice Gateway with Consul, Gin, and Go‑Kit

This guide walks you through building a Go microservice gateway using Consul for service discovery, Gin for routing, and Go‑Kit middleware, covering project structure, configuration loading, middleware composition, dynamic routing, common pitfalls, startup commands, and extensible features.

ConsulGinGo-Kit
0 likes · 6 min read
Build a Lego‑Style Go Microservice Gateway with Consul, Gin, and Go‑Kit
21CTO
21CTO
Jan 11, 2021 · Backend Development

Why We Switched from PHP to Go and How We Built Our Own Framework

This article shares the author's experience migrating a high‑traffic platform from PHP to Go, detailing the challenges of framework selection, layered architecture design, incremental refactoring, and the eventual adoption of go‑kit for scalable microservices.

GoGo-KitPHP migration
0 likes · 13 min read
Why We Switched from PHP to Go and How We Built Our Own Framework