iris_template

command module
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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关键字

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL