Skip to content

go get is showing nagging wall of text after upgrade to 1.17

Running make runner-bin-host generates the following text because of the dependency on gox (which is installed using go get):

go get github.com/mitchellh/gox@latest
go get: installing executables with 'go get' in module mode is deprecated.
	To adjust and download dependencies of the current module, use 'go get -d'.
	To install using requirements of the current module, use 'go install'.
	To install ignoring the current module, 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'.

The same issue is visible in the fuzz variable mask job.

Proposal

Replace go get with go install as suggested by the tool.