Created
July 15, 2024 17:37
-
-
Save BK1031/710b6ed8431202d69c1bbb848797e4cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: clean run test | |
clean: | |
go clean | |
go mod tidy | |
rm *.out | |
rm coverage.html | |
run: | |
. .env | |
go get . | |
go run main.go | |
test: | |
go test ./... -race -covermode=atomic -coverprofile=coverage.out -v | |
go tool cover -html coverage.out -o coverage.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment