iris-cli

module
v0.0.0-...-61a276a Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT

README

iris-admin

IRIS(go语言web框架)脚手架项目

热部署

使用:gowatch进行程序热部署

安装:go get github.com/silenceper/gowatch 安装完成之后,直接使用gowatch命令即可

  • 权限控制
  • mongoDB操作
  • redis 操作
  • redis 集群连接
  • Mysql 操作
  • 日志系统
  • 定时任务
  • 文件上传
  • csv文件处理
  • 配置文件读取
  • 令牌桶限流
  • 开发调试热加载
  • 日常开发utils集成
  • 邮件发送模块
使用说明
1.项目名配置

在go.mod 中修改第一行中的项目名称,再使用ctrl+shift+r(goland环境下)进行全局替换

相关主要依赖库
  • Mongo连接:gopkg.in/mgo.v2
  • config配置读取 :github.com/olebedev/config
开发模式热加载

gowatch -p ./cmd/iris-cil-server.go

注释插件

Goanno

Directories

Path Synopsis
pkg
api
sys/httpclient
* * @Author: taoey * @Description: * @File: client * @Date: 2020/12/1 11:42
* * @Author: taoey * @Description: * @File: client * @Date: 2020/12/1 11:42

Jump to

Keyboard shortcuts

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