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.20.0-rc.1
Published
Dec 7, 2022
Platform
js/wasm
Imports
10 packages
Last checked
1 minute ago

Tools for package owners.