The template-go repository serves as a starting point for new repositories hosting Go code.
It also shows best practices that can retro-fit into existing repositories hosting Go code.
Overview
Aspects of the template-go repository:
Badges: Example badges can be seen above.
.github/workflows: GitActions tailored to Go programming.
.github/dependabot.yml Specifications for keeping Go dependencies up-to-date.
Example documentation: Documentation style conducive to the Go Package library.
Dockerfile: Containerizing the Go program.
RPM/DEB builds: Using package.Dockerfile to build RPM and DEB files for installation.
Makefile: Simplifies development lifecycle commands.
Sample code:main.go and examplepackage code examples.
Sample test cases:*_test.go files showing how to write and document test cases.