You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go get -u github.com/codefresh-io/go-sdk
go: downloading gopkg.in/yaml.v2 v2.2.4
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/rivo/uniseg v0.2.0
go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
The text was updated successfully, but these errors were encountered:
@mindlace: I actually believe this is a warning, not an error.
It used to be that Go executables (i.e. main packages) were installed using go get …, but that invocation has been deprecated and replaced with go install …@… instead.
I just tested this in a fresh repo using the -d flag (which tells Go you're not trying to install the main package, you're just trying to reference the module):
with golang 1.17.3:
The text was updated successfully, but these errors were encountered: