Significance of pathName in "go mod init pathName"

While using “go mod init pathName” outside the GOPATH what should be the chosen value for “pathName” and what significance does it provide ?

The documentation calls this optional paramerer module:

go mod init [module]

You can specify the name of your module. See https://blog.golang.org/using-go-modules for an introduction to Go modules.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.