First steps Enable dependency tracking Run the following command: $ go mod init path/to/your/project Result should look like this: go: creating new go.mod: module path/to/your/project Run Run without building $ go run your_program.go