Skip to content

Commit 25b15af

Browse files
committed
Replace deprecated get with install command
See https://golang.org/doc/go-get-install-deprecation
1 parent 6d92170 commit 25b15af

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@ install-dependencies:
4242

4343
install-tools:
4444
# generation
45-
go get golang.org/x/tools/cmd/stringer
45+
go install golang.org/x/tools/cmd/stringer
4646

4747
# linting
48-
go get golang.org/x/lint/golint/...
49-
go get github.com/kisielk/errcheck/...
50-
go get honnef.co/go/tools/...
48+
go install golang.org/x/lint/golint/...
49+
go install github.com/kisielk/errcheck/...
50+
go install honnef.co/go/tools/...
5151

5252
# code coverage
53-
go get golang.org/x/tools/cmd/cover
54-
go get github.com/onsi/ginkgo/ginkgo/...
55-
go get github.com/modocache/gover/...
56-
go get github.com/mattn/goveralls/...
53+
go install golang.org/x/tools/cmd/cover
54+
go install github.com/onsi/ginkgo/ginkgo/...
55+
go install github.com/modocache/gover/...
56+
go install github.com/mattn/goveralls/...
5757
.PHONY: install-tools
5858

5959
lint:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Mutation testing is also especially interesting for comparing automatically gene
6767
go-mutesting includes a binary which is go-getable.
6868

6969
```bash
70-
go get -t -v github.com/zimmski/go-mutesting/...
70+
go install github.com/zimmski/go-mutesting/cmd/go-mutesting@latest
7171
```
7272

7373
The binary's help can be invoked by executing the binary without arguments or with the `--help` argument.

0 commit comments

Comments
 (0)