SOURCES = $(shell find . -name "*.go") default: build build: $(SOURCES) go build ./... check: $(SOURCES) go test -count 1 ./... .cover: $(SOURCES) go test -count 1 -coverprofile .cover ./... cover: .cover go tool cover -func .cover showcover: .cover go tool cover -html .cover fmt: $(SOURCES) go fmt ./...