Difference between revisions of "Go get"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
  
 
  go: [[go.mod]] file not found in current directory or any parent directory.
 
  go: [[go.mod]] file not found in current directory or any parent directory.
'[[go]] get' is no longer supported outside a module.
+
'[[go]] get' is no longer supported outside a module.
To build and install a command, use '[[go install]]' with a version,
+
To build and install a command, use '[[go install]]' with a version,
like 'go install example.com/cmd@latest'
+
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
+
For more information, see https://golang.org/doc/go-get-install-deprecation
or run '[[go help get]]' or 'go help install'.
+
or run '[[go help get]]' or 'go help install'.
  
 
== Related ==
 
== Related ==

Revision as of 09:13, 13 July 2023

go help get
go get github.com/opsgenie/opsgenie-lamp/...
go get -u go.uber.org/zap
go get -u github.com/ipfs/fs-repo-migrations
go get runsim
go: malformed module path "runsim": missing dot in first path element
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

Related

See also

Advertising: