Files

33 lines
589 B
Markdown

# Go Harness Notes
Use this reference for Go repositories.
## Common files to inspect
- `go.mod`
- `go.sum`
- `cmd/`
- `internal/`
- `pkg/`
- `Makefile`
- `.golangci.*`
## Common validation commands
Typical examples:
- `go test ./...`
- `go build ./...`
- `golangci-lint run`
- `make test`
- `make build`
Prefer repo-defined commands when available.
## Common guardrails
- avoid broad package churn when a local fix is enough
- identify whether generated code exists before editing
- note whether integration tests require external services
- keep command examples copy-pasteable