Skip to content

Glossary: System Design Beyond the Basics in Go

Go commands (go run, go vet, go test, go mod init)

Also written: go run, go vet, go test, go mod init, go.mod

`go run` builds and runs a program (name every file when there are several), `go vet` checks for likely mistakes, `go test` runs TestSomething functions from _test.go files, and `go mod init` creates a go.mod for a multi-file project.

Where the book teaches it

Related terms

Fake clock