gocmd

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2026 License: EUPL-1.2 Imports: 11 Imported by: 0

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

func AddGoCommands(root *cli.Command)

AddGoCommands adds Go development commands.

Types

type QACheck

type QACheck struct {
	Name    string
	Command string
	Args    []string
}

QACheck represents a single QA check.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL