You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
10 months ago | |
---|---|---|
.github/workflows | 10 months ago | |
cmd/golang-app-template | 10 months ago | |
helm | 10 months ago | |
scripts | 10 months ago | |
.gitignore | 10 months ago | |
.goreleaser.yml | 10 months ago | |
Containerfile | 10 months ago | |
Makefile | 10 months ago | |
README.md | 10 months ago | |
go.mod | 10 months ago |
README.md
golang-app-template
Golang application template for GitHub.
Contains:
- Basic running Go code (just a
cmd
so everything else works) - A
Makefile
with some Quality of Life for contributing and executing common tasks. - A
Containerfile
with a boilerplate container with no dependencies. - Goreleaser configuration and CI.
- A basic Helm chart
- Github actions to build, test and release binaries and container images to the Github container registry.
Using the template
- Press the Use this template button at the top of this repository.
- Find and replace
golang-app-template
everywhere you need - Rename
cmd/golang-app-template
make quick-run
Makefile
$ make help
build: builds the project for the setup os/arch combinations
clean: clean test cache, build files
format: Executes the formatting pipeline on the project
help: this screen. Keep it first target to be default
lint: Check the project for errors
quick-run: Executes the project using golang
run: Executes the project build locally
test: Runs the test suite