Difference between revisions of "Go mod"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{lowercase}}
  
 
Execute:
 
Execute:
Line 15: Line 16:
 
== See also ==
 
== See also ==
 
* {{go}}
 
* {{go}}
 +
 +
[[Category:Go]]

Revision as of 19:59, 10 December 2021

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


See also

Advertising: