command
module
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jul 24, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
qgo 后端脚手架
本脚手架是 易千网络工作室 使用的后端开发脚手架旨在规范后端开发流程和结构,使用 cobra 构建。
安装
使用下面的命令安装脚手架工具:
$ go install code.qnxg.cn/qgo/qgo@latest
如果遇到无法运行 qgo 命令时,请检查环境变量中是否包含 $GOPATH/bin
(注意平台区别)。
使用
init
执行下面的命令初始化项目:
$ mkdir newApp && cd newApp
$ qgo init -t <template> -m <modename>
局限
模板说明
Default
使用 Gin 开发后端的模板:
- Gin - 后端开发框架
- wire - 依赖注入框架
- Gorm - 数据库映射框架
Grpc
微服务模板
License
MIT
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.