Skip to content

Commit 8a6db1c

Browse files
committed
Transfer go get to go install
1 parent 3b25d92 commit 8a6db1c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ for moving] an existing package to this repository.
2828

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

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

3333
- Very few (ideally zero) external dependencies.
3434

hack/verify-apidiff.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fi
6565
if ! which apidiff > /dev/null; then
6666
echo "Installing golang.org/x/exp/cmd/apidiff..."
6767
pushd "${TMPDIR:-/tmp}" > /dev/null
68-
go get golang.org/x/exp/cmd/apidiff
68+
go install golang.org/x/exp/cmd/apidiff@latest
6969
popd > /dev/null
7070
fi
7171

hack/verify-golint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/util.sh"
2323

2424
if ! which golint > /dev/null; then
2525
echo "installing golint"
26-
go get golang.org/x/lint/golint
26+
go install golang.org/x/lint/golint@latest
2727
fi
2828

2929
cd "${KUBE_ROOT}"

0 commit comments

Comments
 (0)