fix: Fix golint to new URL

This commit is contained in:
Bo-Yi Wu 2018-10-14 15:11:05 +08:00
parent 9c3e923959
commit 36fea0bfed
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ errcheck:
lint: lint:
@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ @hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) get -u github.com/golang/lint/golint; \ $(GO) get -u golang.org/x/lint/golint; \
fi fi
for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done; for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;