Difference between revisions of "Go mod"
Jump to navigation
Jump to search
(Created page with " go mod init YOUR_NAME go: creating new go.mod: module YOUR_NAME == See also == * {{go}}") |
|||
Line 1: | Line 1: | ||
go mod init YOUR_NAME | go mod init YOUR_NAME | ||
go: creating new go.mod: module YOUR_NAME | go: creating new go.mod: module YOUR_NAME | ||
+ | |||
+ | It will create a <code>go.mod</code> file containing: | ||
+ | module YOUR_NAME | ||
+ | |||
+ | go 1.14 | ||
+ | |||
Revision as of 06:01, 29 April 2020
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
See also
- Go, Gorutine:
go [ mod
|list
|fmt
,for
|build
|get
|version
|env | install | test
]go help
, Go template, Echo go web framework, Go packages, Blank identifier
Advertising: