modulepackage
1.8.1
Repository: https://github.com/liou2021/gin-layout-cli.git
Documentation: pkg.go.dev
# README
gin-layout-cli
introduction
Install the gin-layout generator with the command go install github.com/LIOU2021/gin-layout-cli@latest. Go will automatically install it in your $GOPATH/bin directory which should be in your $PATH.
or
git clone https://github.com/LIOU2021/gin-layout-cli.git
cd gin-layout-cli
make build
system log
/var/log/gin.log
Usage Cli
create
- gin-layout-cli create -s
- gin-layout-cli create env -n database
- gin-layout-cli create helper -n printMyTest
- gin-layout-cli create controller -n userController
- gin-layout-cli create middleware -n testMiddleware
server
- gin-layout-cli server -s
- gin-layout-cli server stop
- gin-layout-cli server start
- gin-layout-cli server status
ref
todo
- create model