]> source.dussan.org Git - gitea.git/commitdiff
Fix golint to new URL (#5079)
authorLauris BH <lauris@nix.lv>
Fri, 12 Oct 2018 20:01:41 +0000 (23:01 +0300)
committerGitHub <noreply@github.com>
Fri, 12 Oct 2018 20:01:41 +0000 (23:01 +0300)
Makefile

index 4eb5873e4214721ef7ce7cede095083547e864b4..28f52196ef4ab6c61d0f8a5a9f7b3198d9b4eb1b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -129,7 +129,7 @@ errcheck:
 .PHONY: lint
 lint:
        @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
        for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;