knative-extensions/kperf

installing executables with 'go get' in module mode is deprecated

Closed this issue · 0 comments

When I run ./hack/build.sh under go 1.17, I got below warning. We should use go install to replace go get.

+ go get -u github.com/kevinburke/go-bindata/...
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'.