Use Go modules

This commit is contained in:
Martin Polden
2018-08-27 20:45:51 +02:00
parent 988f3fd19a
commit fefe371369
6 changed files with 22 additions and 47 deletions

View File

@ -23,12 +23,12 @@ ifdef TRAVIS
endif
check-fmt:
bash -c 'diff --line-format="%L" <(echo -n) <(gofmt -d -s $$(find . -type f -name "*.go" -not -path "./vendor/*"))'
bash -c "diff --line-format='%L' <(echo -n) <(gofmt -d -s .)"
lint: check-fmt vet megacheck
deps:
go get -d -v ./...
go get
install:
go install ./...