Skip to content

Commit

Permalink
Transfer go get to go install
Browse files Browse the repository at this point in the history
  • Loading branch information
nitishfy committed Aug 30, 2023
1 parent 3b25d92 commit 8a6db1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for moving] an existing package to this repository.

- Stable, or backward compatible, API, with complete godocs.

- Go tools compliant (`go get`, `go test`, etc.).
- Go tools compliant (`go get`, `go install`, `go test`, etc.).

- Very few (ideally zero) external dependencies.

Expand Down
2 changes: 1 addition & 1 deletion hack/verify-apidiff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fi
if ! which apidiff > /dev/null; then
echo "Installing golang.org/x/exp/cmd/apidiff..."
pushd "${TMPDIR:-/tmp}" > /dev/null
go get golang.org/x/exp/cmd/apidiff
go install golang.org/x/exp/cmd/apidiff@latest
popd > /dev/null
fi

Expand Down
2 changes: 1 addition & 1 deletion hack/verify-golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/util.sh"

if ! which golint > /dev/null; then
echo "installing golint"
go get golang.org/x/lint/golint
go install golang.org/x/lint/golint@latest
fi

cd "${KUBE_ROOT}"
Expand Down

0 comments on commit 8a6db1c

Please sign in to comment.