command
module
Version:
v0.0.0-...-da6f084
Opens a new window with list of versions in this module.
Published: Nov 9, 2018
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gin-first
Simple Rest API using Gin web framework, Gorm as ORM 、Logrus as log middleware ,also using MVC pattern
基于 Gin和Gorm 搭建的一个Web后台管理系统的框架
特点:
1.内置很多web常用的正则校验规则,以及正则校验函数(helper/regex.go)
2.基于JWT的API接口token认证
3.基于Logrus实现日志分类输出
4.基于gin-swagger实现,api接口文档输出
5.实现跨域Cors
6.配置好了完整的dockerfile,可以直接运行将项目编译成docker镜像
Swagger效果:http://182.61.45.175:8080/swagger/index.html

Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.