Go 1 · Setup and running

Start a module

Create a go.mod file. Use the path where the module will be published as its name.

go mod init example.com/myapp

Official Go 1 documentation

More setup and running commands

All setup and running commands · Go 1 cheatsheet

Was this page helpful?