11 lines
189 B
Makefile
11 lines
189 B
Makefile
|
.PHONY: test
|
||
|
test:
|
||
|
go test -race -run=^Test -v
|
||
|
|
||
|
.PHONY: cover
|
||
|
cover:
|
||
|
go test -coverprofile=coverage.out -covermode=atomic
|
||
|
|
||
|
.PHONY: coverhtml
|
||
|
coverhtml:
|
||
|
go tool cover -html=coverage.out
|