go-gin-api is an API framework built on the Gin HTTP router that integrates common middleware and tools for rapid business development. It provides a modular structure for organizing API handlers and middleware, with built-in support for JWT token authentication to secure endpoints and GORM for database object-relational mapping and operations.
The framework includes a gRPC service component for inter-service communication, along with middleware for collecting Prometheus metrics and generating Swagger API documentation from code annotations. It also features OpenTelemetry trace propagation for distributed request tracing across services, panic recovery middleware for structured error responses, and Viper-based configuration management for loading settings from YAML, JSON, or environment variables.
Additional capabilities include Zap structured logging for high-performance log processing, enabling monitoring and observability through trace visualization and Prometheus metric exposure.