diff --git a/Makefile b/Makefile index d6a2d0614..69565c964 100644 --- a/Makefile +++ b/Makefile @@ -74,3 +74,10 @@ quicktemplate-gen: install-qtc install-qtc: which qtc || GO111MODULE=off go get -u github.com/valyala/quicktemplate/qtc + + +golangci-lint: install-golangci-lint + golangci-lint run + +install-golangci-lint: + which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint