|
hai 9 meses | |
---|---|---|
api | hai 9 meses | |
db | %!s(int64=2) %!d(string=hai) anos | |
hack | hai 9 meses | |
internal | hai 9 meses | |
library | %!s(int64=2) %!d(string=hai) anos | |
maintask | %!s(int64=2) %!d(string=hai) anos | |
manifest | hai 9 meses | |
resource | %!s(int64=2) %!d(string=hai) anos | |
utility | %!s(int64=2) %!d(string=hai) anos | |
.gitattributes | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
Makefile | %!s(int64=2) %!d(string=hai) anos | |
README.MD | hai 9 meses | |
go.mod | hai 9 meses | |
go.sum | hai 9 meses | |
main.go | hai 9 meses |
Project Makefile Commands:
make cli
: Install or Update to the latest GoFrame CLI tool.make dao
: Generate go files for Entity/DAO/DO
according to the configuration file from hack
folder.make service
: Parse logic
folder to generate interface go files into service
folder.make image TAG=xxx
: Run docker build
to build image according manifest/docker
.make image.push TAG=xxx
: Run docker build
and docker push
to build and push image according manifest/docker
.make deploy TAG=xxx
: Run kustomize build
to build and deploy deployment to kubernetes server group according manifest/deploy
.编译 gf build main.go -n nodeMonitor -a amd64 -s linux
gf build main.go -n nodeMonitorTask -a amd64 -s linux
gf build tak_main.go -n nodeMonitorTask -a amd64 -s linux -p /bin