Skip to content

go install should be used instead of go get to install binaries #42

@jayesh-srivastava

Description

@jayesh-srivastava

From Go 1.17, installing executables with go get is deprecated. go install may be used instead.
In Go 1.18, go get will no longer build packages; it will only be used to add, update, or remove dependencies in go.mod.

Ref. - (https://go.dev/doc/go-get-install-deprecation)

We should stop using go get to install hack/tools and instead rely on go install.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions