Prohibit variable shadowing (#30)

This commit is contained in:
Hanzei 2019-02-06 18:46:30 +01:00 committed by Jesús Espino
parent ff7758dc6a
commit c415b6b7b8

View file

@ -52,7 +52,7 @@ endif
govet:
ifneq ($(HAS_SERVER),)
@echo Running govet
@$(GO) vet $$(go list ./server/...) || exit 1
@$(GO) vet -shadow $$(go list ./server/...) || exit 1
@echo Govet success
endif