Skip to content

Commit 6b7b0f8

Browse files
authored
API improvements (#10)
1 parent 89b0a5b commit 6b7b0f8

File tree

15 files changed

+650
-451
lines changed

15 files changed

+650
-451
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
.idea
2-
build/
1+
# Mac OS
32
.DS_Store
3+
4+
# Coverage files
5+
coverage.*

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
.PHONY: test
22
test:
3-
go clean -testcache
4-
go test -race -v .
3+
@go clean -testcache
4+
@go test -race -v -coverprofile="coverage.txt" -covermode=atomic ./...
5+
6+
.PHONY: test-coverage
7+
open-coverage:
8+
@go tool cover -html=coverage.txt
59

610
bench:
7-
go test -bench=.
11+
@go test -bench=.
12+

0 commit comments

Comments
 (0)