README.MD 906 B

GoFrame Template For SingleRepo

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

o6g6lij1 85734bd4 http://166.88.61.180:8888/b5b84fbd/