Go toolkit is a module with utility packages for ease the day-to-day development cycle using Go.
gotk
gotk
is a CLI for automating different task for building an application.
Although it may seem overkill to use it since a simple Makefile would do the same with less effort,
the idea is to avoid syncing manually multiple Makefiles when developing in multiple repositories.
Installation
go install github.com/emacampolo/go-toolkit/gotk@latest
Usage
Usage: gotk [--version] [--help] <command> [<args>]
Available commands are:
Run mandatory tools with sensible defaults
test Command for running go test
Below, it is listed all the mandatory tools which are executed in order when calling gotk
with no arguments:
- go mod tidy
- go fmt
- goimports
- go vet
- staticcheck
- govulncheck
- go test