Getting started with go language Install go Enter directory and run go mod init example/hello go run . For more information run go help When adding external packages run go mod tidy