From 5ab685bdabd31894a8b0028a1f1e734d7ba464e8 Mon Sep 17 00:00:00 2001 From: "Thorsten A.Knieling" Date: Thu, 11 Oct 2018 19:52:57 +0200 Subject: [PATCH] Fix golint build error --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 751ebda..19ae1a9 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ GODEP = $(BIN)/dep $(BIN)/dep: REPOSITORY=github.com/golang/dep/cmd/dep GOLINT = $(BIN)/golint -$(BIN)/golint: REPOSITORY=github.com/golang/lint/golint +$(BIN)/golint: REPOSITORY=golang.org/x/lint/golint GOCOVMERGE = $(BIN)/gocovmerge $(BIN)/gocovmerge: REPOSITORY=github.com/wadey/gocovmerge @@ -233,7 +233,7 @@ checkstyle: $(BASE)/vendor: vendor-install -generatemodels: $(CURDIR)/swagger/aif-swagger.yaml ; $(info $(M) generate models …) @ ## Run golint +generatemodels: $(CURDIR)/swagger/aif-swagger.yaml ; $(info $(M) generate models …) @ ## Run generate models if [ ! -d $(BASESRC)/models ]; then \ GOPATH=$(GOPATH) go get -u github.com/go-swagger/go-swagger/cmd/swagger; \ if [ -r ../AdminRestServer/swagger/aif-swagger.yaml ]; then \