gofmt(1) User Commands gofmt(1)

gofmt - format Go code

gofmt [flags] [path]...

A tool for formatting Go source code. For full documentation run gofmt -help or see http://golang.org/cmd/gofmt.

go(1)

January 2015 Go