An open API service indexing awesome lists of open source software.

https://github.com/captainlee1024/fast-gin

基于 Gin 的企业通用开发脚手架。
https://github.com/captainlee1024/fast-gin

gin go web

Last synced: 5 months ago
JSON representation

基于 Gin 的企业通用开发脚手架。

Awesome Lists containing this project

README

          

# Fast-Gin
[![Language](https://camo.githubusercontent.com/3ec191c36dd3e1d101c57f34ec3e7ac1866630b5fa11845b64c7bf072d160816/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c616e67756167652d476f2d626c75652e737667)](https://golang.org/) [![License: MIT](https://camo.githubusercontent.com/78f47a09877ba9d28da1887a93e5c3bc2efb309c1e910eb21135becd2998238a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

基于 Gin 的企业通用开发脚手架,集成了 Go 生态中的热门库: Gin、zap+lumberjack、viper、sqlx、gorm、redigo 等...

## 支持
fast-gin,采用 Go 语言规范的工程化模块儿划分,根据自己的需求进行简单的修改,快速进行高效的 Web 开发,主要功能有:
- 支持多配置环境
- 支持 zap + lumberjack 进行日志的打印、分割归档,覆盖到 mysql、redis、request
- 支持 validator 校验库,并实现多语言的错误提示,及自定义错误提示信息
- 支持 swagger 文档
- 提供 JWT认证、令牌桶限流、白名单认证等中间件

## 项目结构

## 快速上手