github.com/xinliangnote/go-gin-api

go-gin-api

基于 Gin 进行模块化设计的 API 框架,封装了常用功能,使用简单,致力于进行快速的业务研发。比如,支持 cors 跨域、jwt 签名验证、zap 日志收集、panic 异常捕获、trace 链路追踪、prometheus 监控指标、swagger 文档生成、viper 配置文件解析、gorm 数据库组件、gormgen 代码生成工具、graphql 查询语言、errno 统一定义错误码、gRPC 的使用、cron 定时任务 等等。

69

Decision Signals

Health score 69/100, confidence 95/100.

Review
Maintenance 20
Adoption 89
Security 92
Maturity 94
Developer DX 81
Confidence 95

Install

go get github.com/xinliangnote/go-gin-api

Package Data

updated May 30, 2026
Latest versionv1.2.7
Imported by0 packages
Stars6.0K
Forks1.1K
Last activity2 years ago
Latest releasev1.2.7 (4 years ago)
LicenseMIT
Known vuln records0

API Surface

0 symbols
SymbolKindSynopsis
No symbol preview available from pkg.go.dev for this refresh.

Maintained Alternatives

limited recent repository activity

#1 swag

Package swag converts Go annotations to Swagger Documentation 2.0.

Go OpenAPI Libraries 12.8K stars 11.8K imported-by 95% confidence
95

#2 swag

Package swag contains a bunch of helper functions for go-openapi and go-swagger projects.

Go OpenAPI Libraries 220 stars 16.2K imported-by 95% confidence
94

#3 validate

Package validate provides methods to validate a swagger specification, as well as tools to validate data against their schema.

Go OpenAPI Libraries 144 stars 5.9K imported-by 60% confidence
93

#4 go-doudou

go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.

Go OpenAPI Libraries 1.2K stars 0 imported-by 100% confidence
89

#5 grpc-gateway

gRPC to JSON proxy generator following the gRPC HTTP spec

Go OpenAPI Libraries 19.9K stars 0 imported-by 60% confidence
89

#6 oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications

Go OpenAPI Libraries 8.4K stars 0 imported-by 40% confidence
84

Similar Packages

Go OpenAPI Libraries

#1 swag

Package swag converts Go annotations to Swagger Documentation 2.0.

Go OpenAPI Libraries 12.8K stars 11.8K imported-by 95% confidence
95

#2 swag

Package swag contains a bunch of helper functions for go-openapi and go-swagger projects.

Go OpenAPI Libraries 220 stars 16.2K imported-by 95% confidence
94

#3 validate

Package validate provides methods to validate a swagger specification, as well as tools to validate data against their schema.

Go OpenAPI Libraries 144 stars 5.9K imported-by 60% confidence
93

#4 go-doudou

go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.

Go OpenAPI Libraries 1.2K stars 0 imported-by 100% confidence
89

#5 grpc-gateway

gRPC to JSON proxy generator following the gRPC HTTP spec

Go OpenAPI Libraries 19.9K stars 0 imported-by 60% confidence
89