package fmtcmd

import "cmd/go/internal/fmtcmd"

Package fmtcmd implements the “go fmt” command.

Index

Variables

var CmdFmt = &base.Command{
	Run:       runFmt,
	UsageLine: "go fmt [-n] [-x] [packages]",
	Short:     "gofmt (reformat) package sources",
	Long:      "" /* 541 byte string literal not displayed */,
}

Source Files

fmt.go

Version
v1.24.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
23 minutes ago

Tools for package owners.