Skip to content

Glossary: Go Basics

go fmt

Also written: gofmt

Command that rewrites your files in Go's one standard layout and prints the names of the files it changed. The `gofmt` tool does the work.

Where the book teaches it

Related terms

go vet