π Template for a typical module written on Go.
https://go-module.octolab.org/ β HEALTH ? 49 / Quiet
π Template for a typical module written on Go.
https://go-module.octolab.org/ β// readme
Template for a typical module written on Go.
$ make setup
$ make help
$ make find-todos
$ make test lint
$ TIMEOUT=5s make test-with-coverage
For more details please visit the page.
$ alias run=./Taskfile
$ run refresh
$ run help
$ run docs # === `run docs install -- build -- start`
$ run docs npm ci
$ run docs npm i nextra@latest
$ run tools go install tool
$ run tools golangci-lint --version -- mockgen --version
$ run which goimports golangci-lint govulncheck mockgen
For more details please visit the page.
$ make tools
$ source bin/activate
$ which goimports
$ goimports -local $(go list -m) -w ./...
For more details please visit the page.
$ make go-1.11 # or go-1.12, etc.
/src# make go-env 2>/dev/null | grep GOVERSION
# GOVERSION: 1.11.13
/src# make test
Define a powerful template thatβ¦