We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d10439 commit b491dcfCopy full SHA for b491dcf
Makefile
@@ -1,8 +1,20 @@
1
test:
2
go test -v ./...
3
+race:
4
+ go test -race ./...
5
cover:
6
go test -coverprofile="cover.out" ./...
7
go tool cover -html="cover.out"
8
covtotal:
9
go test ./... -coverprofile cover.out
- go tool cover -func cover.out
10
+ go tool cover -func cover.out
11
+covatomic:
12
+ go test -race -coverprofile="cover.out" -covermode=atomic ./...
13
+ go tool cover -html="cover.out"
14
+deps:
15
+ go get -u all
16
+ go mod tidy
17
+# Ensure https://github.com/icholy/gomajor is installed.
18
+major:
19
+ gomajor get all
20
0 commit comments