Project template with GitHub actions for Go.
go install github.com/bool64/go-template@latest
$(go env GOPATH)/bin/go-template --help
Or download binary from releases.
wget https://github.com/bool64/go-template/releases/latest/download/linux_amd64.tar.gz && tar xf linux_amd64.tar.gz && rm linux_amd64.tar.gz
./go-template -version
wget https://github.com/bool64/go-template/releases/latest/download/darwin_amd64.tar.gz && tar xf darwin_amd64.tar.gz && rm darwin_amd64.tar.gz
codesign -s - ./go-template
./go-template -version
wget https://github.com/bool64/go-template/releases/latest/download/darwin_arm64.tar.gz && tar xf darwin_arm64.tar.gz && rm darwin_arm64.tar.gz
codesign -s - ./go-template
./go-template -version
Create a new repository from this template, check out it and run ./run_me.sh
to replace template name with name of
your repository.