go mod

From wikieduonline
Revision as of 18:52, 26 July 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search

go mod init
go mod download
go mod vendor
go mod verify
go mod why
go mod tidy


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

Related

See also

Advertising: