Categorygithub.com/xpzouying/go-cmd-project-template
module
0.0.0-20240920070521-4941683ce108
Repository: https://github.com/xpzouying/go-cmd-project-template.git
Documentation: pkg.go.dev

# README

Go Project Template

How to build this project

  1. How to build this project
# build
make build
  1. How to run this project
# run the bin
./dist/go-template-project

# run the version
./dist/go-template-project --version

How to install this project

# systemd config
cp ./examples/go-template-project.service /etc/systemd/system/go-template.service

# install bin
cp ./dist/go-template-project /usr/local/bin/go-template

# install config file
cp ./examples/config.json /etc/go-template.config


systemctl daemon-reload
systemctl enable go-template-project
systemctl start go-template-project
systemctl status go-template-project

# uninstall
systemctl stop go-template-project
systemctl disable go-template-project
systemctl daemon-reload

# Packages

No description provided by the author
No description provided by the author