Open mindlace opened 2 years ago
@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):
$ go get -d github.com/codefresh-io/go-sdk@latest
go: downloading github.com/codefresh-io/go-sdk v0.37.4
go: downloading gopkg.in/yaml.v2 v2.2.4
go: downloading github.com/google/go-querystring v1.1.0
go: added github.com/codefresh-io/go-sdk v0.37.4
go: added github.com/google/go-querystring v1.1.0
go: added github.com/mattn/go-runewidth v0.0.4
go: added github.com/olekukonko/tablewriter v0.0.1
go: added gopkg.in/yaml.v2 v2.2.4
$
Note: I am unaffiliated with CodeFresh, just happened across your issue for a different reason :smiley:
with golang 1.17.3: