Skip to content

Commit 46b43eb

Browse files
jubarbot-ciscoshin-
authored andcommitted
Update path of golint
The new path is golang.org/x/lint/golint. See golang/lint@ead987a. Signed-off-by: Julien Barbot <[email protected]>
1 parent b36cb27 commit 46b43eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ the directory that contains your `src` directory, e.g.:
4747
$ export GOPATH=/home/yourname/work
4848
$ mkdir -p $GOPATH/src/github.com/docker
4949
$ cd $GOPATH/src/github.com/docker && git clone [email protected]:docker/machine.git
50-
$ cd machine
50+
$ cd machine
5151

5252
At this point, simply run:
5353

@@ -66,7 +66,7 @@ to clean-up build results.
6666
## Tests and validation
6767

6868
We use the usual `go` tools for this, to run those commands you need at least the linter which you can
69-
install with `go get -u github.com/golang/lint/golint`
69+
install with `go get -u golang.org/x/lint/golint`
7070

7171
To run basic validation (dco, fmt), and the project unit tests, call:
7272

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
77
sshfs \
88
&& rm -rf /var/lib/apt/lists/*
99

10-
RUN go get github.com/golang/lint/golint \
10+
RUN go get golang.org/x/lint/golint \
1111
github.com/mattn/goveralls \
1212
golang.org/x/tools/cover
1313

mk/validate.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ vet:
1616

1717
lint:
1818
$(if $(GOLINT), , \
19-
$(error Please install golint: go get -u github.com/golang/lint/golint))
19+
$(error Please install golint: go get -u golang.org/x/lint/golint))
2020
@test -z "$$($(GOLINT) ./... 2>&1 | grep -v vendor/ | grep -v "cli/" | grep -v "amazonec2/" |grep -v "openstack/" |grep -v "softlayer/" | grep -v "should have comment" | tee /dev/stderr)"

0 commit comments

Comments
 (0)