Difference between revisions of "Go mod"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
</pre> | </pre> | ||
− | + | [[go help mod]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 14:30, 10 August 2022
go mod init go mod download go mod vendor go mod verify go mod why
Execute:
go mod init YOUR_NAME go: creating new go.mod: module YOUR_NAME
It will create a go.mod
file containing
module YOUR_NAME go 1.14
go help mod
See also
Advertising: