xinliangnote/go-gin-api
基于 Gin 进行模块化设计的 API 框架,封装了常用功能,使用简单,致力于进行快速的业务研发。比如,支持 cors 跨域、jwt 签名验证、zap 日志收集、panic 异常捕获、trace 链路追踪、prometheus 监控指标、swagger 文档生成、viper 配置文件解析、gorm 数据库组件、gormgen 代码生成工具、graphql 查询语言、errno 统一定义错误码、gRPC 的使用、cron 定时任务 等等。 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2567
- days_rel: n/a
- days_push: 985
- n_releases_24m: 0
Adoption not part of the score
5975 stars · 1123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A modular API framework built on the Gin web framework for Go, bundling common features like CORS, JWT auth, zap logging, Prometheus metrics, Swagger docs, GORM, GraphQL, and cron scheduling. It also includes an admin web UI and code generators to speed up business API development.
Use cases
- scaffold a production-style REST API in Go
- build a Gin-based backend with JWT auth and CORS
- add Prometheus metrics and tracing to a Go API
- generate CRUD code and controllers from database tables
- learn how to structure a modular Gin project
- run scheduled jobs configurable from a web admin panel
When to choose
- starting a new Go REST API and wanting batteries-included conventions
- teams that want enforced project structure and unified error codes
- learning resource for integrating Gin with common middleware
When to avoid
- you need a minimal or highly customized architecture
- you require long-term guaranteed maintenance for production (README advises caution for production use)
- you prefer assembling your own middleware stack
Facets
framework · maturity maintenance
web-framework api-framework logging monitoring tracing rate-limiting orm websocket graphql scheduling middleware documentation web-development backend apis developer-tools go cross-platform gin boilerplate api-scaffold chinese-documentation code-generation swagger jwt viper zap gorm prometheus web-server
2 sources
- readme: https://github.com/xinliangnote/go-gin-api · fetched 2026-08-28 · 2b66b610dbf8
- homepage: https://www.yuque.com/xinliangnote/go-gin-api/ngc3x5 · fetched 2026-08-29 · 77105db54b97
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xinliangnote/go-gin-api | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="xinliangnote/go-gin-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem