Complete the code to declare the module path in the go.mod file.
module [1]The module keyword is followed by the module path, like github.com/user/project.
Complete the code to initialize a new Go module using the command line.
go [1] github.com/user/projectThe command go mod init initializes a new module with the given path.
Fix the error in the go.mod file by completing the missing keyword.
[1] github.com/user/project go 1.20
The go.mod file must start with the module keyword followed by the module path.
Fill both blanks to complete the go.mod file with module path and Go version.
[1] github.com/example/app go [2]
The go.mod file starts with module and specifies the Go version like 1.20.
Fill all three blanks to create a minimal go.mod file with module path, Go version, and a require statement.
[1] github.com/my/module go [2] require [3] v1.2.3
The go.mod file starts with module, specifies the Go version, and lists dependencies with require.