Templates for common files/configs in Go projects.
- Create a new repository based on this repository:
-
Go to this repository's page, click on the
Use this template
button and follow instructions.OR
-
With GitHub's CLI, run
gh repo create NEW_REPOSITORY_NAME --template=dmarcoux/go_templates
.
- Search for
CHANGEME
in the newly created repository to adapt it to your needs.
Reproducible development environment for Go projects which relies on Nix, a purely functional and cross-platform package manager.
- Copy shell.nix at the root of your Go project.
- Add the content of .gitignore to your own .gitignore.
- Start with
nix-shell --pure
.