gin-gonic/gin
3 articles
01
Architecture Overview
An overview of the architecture and project context.
02
Gin from 10,000 Feet: Architecture, Directory Structure, and the Request Lifecycle
A comprehensive overview of Gin's architecture, covering the flat directory structure, four core abstractions, and the complete request lifecycle from incoming HTTP request to response.
03
Inside Gin's Radix Tree: How Route Matching Works with Zero Allocations
A deep dive into Gin's compressed radix tree router, covering the node struct, addRoute() edge splitting, the zero-allocation getValue() hot path, and priority-based performance optimizations.