Create project
Init project
Dependencies are tracked by a go.mod file, your project must include this in the root directory.
go mod init <prefix>/<description>A good prefix is something unique like a company name, not something generic like utils.
A description if up to you and your naming conventions, like myProj.
Hello world
Next create the main file, call it say program.go
package main
import "fmt"
func main() {
fmt.Println("Hello world")
}
Execute
go run .