Build with Make
This project uses a Makefile. Always prefer make targets over running go commands directly.
Rules
- Before running any
go build,go test,go run,go vet,go fmt, orgolangci-lintcommand, check the Makefile for a corresponding target. - Use the Makefile target instead of the raw
gocommand. For example:make buildinstead ofgo build ./...make testinstead ofgo test ./...make lintinstead ofgolangci-lint runmake runinstead ofgo run main.gomake fmtinstead ofgo fmt ./...
- If you need to discover available targets, run
make helpfirst. If that fails, read the Makefile directly. - Only fall back to raw
gocommands if no relevant Makefile target exists for the task.