Project Makefile Commands:
make cli
: Install or Update to the latest GoFrame CLI tool.make dao
: Generate go files forEntity/DAO/DO
according to the configuration file fromhack
folder.make service
: Parselogic
folder to generate interface go files intoservice
folder.make image TAG=xxx
: Rundocker build
to build image accordingmanifest/docker
.make image.push TAG=xxx
: Rundocker build
anddocker push
to build and push image accordingmanifest/docker
.make deploy TAG=xxx
: Runkustomize build
to build and deploy deployment to kubernetes server group accordingmanifest/deploy
.
./gf gen service -s internal/modules/模块名/logic -d internal/modules/模块名/service
./gf gen service -s internal/m 517B odules/mp/logic -d internal/modules/mp/service
./gf gen dao -p ./internal/modules/模块名