This repository is a starter template for Golang projects using the latest version of Go. Use it to create command-line applications, web apps, and more.
It includes:
- configuration and workflow for
goreleaser
, a tool for building and publishing Go binaries. - configuration for
golangci-lint
, a tool for Go that runs many linters in parallel. - configuration for
task
, a tool similar tomake
. To downloadtask
, see the task project page.
Also included is a configuration and workflow for Dependabot, a tool for keeping dependencies up to date. Dependencies are updated automatically and pull requests are created to merge the changes; minor and patch version updates are automatically merged.
To configure, run:
go run tools/configure-project.go
The configure script will ask you a series of questions that will customize the template with values such as your name, GitHub username, email address, use of optional packages, and more.
Some of the default values are automatically determined based on your git configuration, but you may change any of the values when prompted.
{{project.description}}
go mod tidy
task build
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.