Difference between revisions of "Go mod"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
Execute:
 
Execute:
  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
  

Revision as of 11:23, 10 August 2022

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: