Difference between revisions of "Go get"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
[[go get -u]] go.uber.org/[[zap]] | [[go get -u]] go.uber.org/[[zap]] | ||
− | [[go get -u]] github.com/ipfs/fs-repo-migrations | + | [[go get -u]] github.com/ipfs/[[fs-repo-migrations]] |
+ | |||
+ | [[go get -u github.com/sj14/kubedump]] | ||
go get [[runsim]] | go get [[runsim]] | ||
Line 14: | Line 16: | ||
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. | |
− | + | 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 == | == Related == |
Latest revision as of 12:09, 12 December 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 -u github.com/sj14/kubedump
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[edit]
See also[edit]
go get
- 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: