Categorygithub.com/liguoqinjim/iris_template
modulepackage
1.0.6
Repository: https://github.com/liguoqinjim/iris_template.git
Documentation: pkg.go.dev

# README

iris_template


Build Status codecov

TODO

  • go mod
  • 登录,注册,得到用户信息功能
  • iris mvc controller
  • error handler
  • 错误处理
  • api的单元测试 base_test.go
  • gorm
  • sql脚本
  • redis
  • swagger
  • jwt
  • cors
  • validator
  • travis
  • middleware
  • logger
  • config /viper
  • 启动脚本
  • 打包脚本
  • Dockerfile
  • config_test.go
  • Makefile
  • 返回静态文件
  • websocket
  • BeforeActivation
  • casbin
  • 测试模式,可配置
  • /根路径的处理
  • codecov覆盖率
  • 重命名脚本
  • 新建模板脚本
  • scp脚本
  • github badge
  • consts整理
  • 定时任务
  • recover middleware
  • 测试用的配置文件(比如travis.yml的mysql密码要为空,但是本地测试的数据库密码为123456)

swagger使用

  • 安装
  • swag init

NOTICE

  • package consts用了复数是因为const是golang关键字

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author