Documentation
¶
Overview ¶
Package gocmd provides Go development commands with enhanced output.
Note: Package named gocmd because 'go' is a reserved keyword.
Commands:
- test: Run tests with colour-coded coverage summary
- cov: Run tests with detailed coverage reports (HTML, thresholds)
- fmt: Format code using goimports or gofmt
- lint: Run golangci-lint
- install: Install binary to $GOPATH/bin
- mod: Module management (tidy, download, verify, graph)
- work: Workspace management (sync, init, use)
Sets MACOSX_DEPLOYMENT_TARGET to suppress linker warnings on macOS.
Package gocmd provides Go development commands.
Note: Package named gocmd because 'go' is a reserved keyword.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGoCommands ¶
AddGoCommands adds Go development commands.
Types ¶
Click to show internal directories.
Click to hide internal directories.