A CLI to initialize and work on go projects, mainly designed for API's.
💡 You need to have go installed correctly on your machine.
Install the CLI by running :
go get github.com/edwinvautier/go-cli
Then you should be able to do :
You can initialize a project in your working directory by running the create
command.
go-cli create
# or with app name
go-cli create my-app-name
The CLI will eventually ask you your git username, the DB management system you'd like to use and if you want to dockerize the application or not.
File:
.github/workflows/release.yml
Used to create a new release with 2 inputs:
- branch
- release tag
The used GitHub Action works with 2 steps:
-
go build + go test
-
generate release with :
- release name
- tag name
- body containing changelogs