1 .PHONY: default clean check test 2 3 default: clean check test build 4 5 test: clean 6 go test -v -cover ./... 7 8 clean: 9 rm -f cover.out 10 11 build: 12 go build 13 14 check: 15 golangci-lint run 16 17 .PHONY: integrationtest 18 integrationtest: 19 $(info * running integration tests) 20 go test -tags=integrationtest -race ./... 21