Giter Site home page Giter Site logo

jangocheng / go-gin-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinliangnote/go-gin-api

0.0 0.0 0.0 4.26 MB

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

License: MIT License

Go 69.18% Shell 0.37% HTML 27.35% JavaScript 3.10%

go-gin-api's Introduction

关于

go-gin-api 是基于 Gin 进行模块化设计的 API 框架,封装了常用的功能,使用简单,致力于进行快速的业务研发,同时增加了更多限制,约束项目组开发成员,规避混乱无序及自由随意的编码。

供参考学习,线上使用请谨慎!

集成组件:

  1. 支持 rate 接口限流
  2. 支持 panic 异常时邮件通知
  3. 支持 cors 接口跨域
  4. 支持 Prometheus 指标记录
  5. 支持 Swagger 接口文档生成
  6. 支持 GraphQL 查询语言
  7. 支持 trace 项目内部链路追踪
  8. 支持 pprof 性能剖析
  9. 支持 jwt 接口鉴权
  10. 支持 errno 统一定义错误码
  11. 支持 zap 日志收集
  12. 支持 viper 配置文件解析
  13. 支持 gorm 数据库组件
  14. 支持 go-redis 组件
  15. 支持 RESTful API 返回值规范
  16. 支持 gormgen、handlergen 代码生成工具
  17. 支持 web 界面,使用的 Light Year Admin 模板

文档索引

go-gin-api 文档由以下几个主要部分组成:

  • 准备工作
  • 快速开始
  • 目录接口
  • 核心封装
  • 组件指南
  • 工具包

地址:https://www.yuque.com/xinliangnote/go-gin-api/ngc3x5

其他

查看 Jaeger 链路追踪代码,请查看 v1.0版,文档点这里 jaeger.md

Special Thanks

@koketama

Learning together

go-gin-api's People

Contributors

xinliangnote avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.