Skip to content

🐹 Go Template

A minimal, batteries-included template for new Go projects. Skip the boilerplate — start shipping.

Repository: devantler-tech/go-template

  • CI/CD — GitHub Actions workflows for build, test, lint, and release
  • Testinggo test with coverage reporting via GitHub Code Quality
  • QualityGo Report Card integration for continuous code-quality feedback
  • Dependency managementDependabot keeps Go modules and Actions up to date
  • Release automation — Semantic versioning and automated GitHub Releases
Terminal window
# Create a new repo from the template
gh repo create my-project --template devantler-tech/go-template --public --clone
cd my-project
# Repoint the module path (go.mod, imports, README badges) in one shot — run this
# first. With no argument it derives the path from your origin GitHub remote.
# The script also runs `go mod tidy`; review the result with `git diff`.
scripts/rename-placeholders.sh github.com/<you>/my-project
# Run tests
go test ./...