Golang projects take a long time to setup with all the various files and keeping things uniform across projects. With this Golang template, you can quickly setup boilerplate code and miscellaneous items for your Golang project saving you time and energy so you can get back to coding.
Click the Use this template
button at the top of this project's GitHub page, it looks like this:
Easy text replacements
- Replace all occurances of
USERNAME
- Replace all occurances of
GO_PROJECT_NAME
File configuration
- Change the name of the
package
folder to match your project - Configure the
go.mod
file - Configure the
Makefile
targets - Update the name in the
LICENSE
file - Configure the
.github/workflows/build.yml
file - Configure the
.goreleaser.yml
file and uncomment the last section of the.github/workflows/release.yml
file - Update the
CHANGELOG.md
- Rename other files/folders as needed and configure their content
- Add a
HOMEBREW_TAP_TOKEN
secret to your repo with a value of a GitHub token that hasrepo
access to your homebrew tap - Delete this
README
and renameREADME_project.md
toREADME.md