cli/docs/cmd/go/fmt/index.md
Snider ace6306233 docs: restructure cmd docs to mirror CLI hierarchy
- Convert flat .md files to index.md in subdirectories
- Add subcommand directories (go/test, go/cov, build/sdk, etc.)
- Update dev/index.md to include multi-repo commands
- Structure now mirrors: core <cmd> [subcmd] → docs/cmd/<cmd>/<subcmd>/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:46:31 +00:00

355 B

core go fmt

Format Go code using goimports or gofmt.

Usage

core go fmt [flags]

Flags

Flag Description
--fix Apply fixes (default: check only)
--diff Show diff

Examples

core go fmt           # Check
core go fmt --fix     # Apply fixes
core go fmt --diff    # Show diff