Go 1 · Setup and running

Install a command-line tool

Build and install a program from a module into your Go bin folder.

go install golang.org/x/tools/cmd/goimports@latest

Official Go 1 documentation

More setup and running commands

All setup and running commands · Go 1 cheatsheet

Was this page helpful?