Skip to content

Commit

Permalink
API improvements (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
yottahmd authored Aug 17, 2024
1 parent 89b0a5b commit 6b7b0f8
Show file tree
Hide file tree
Showing 15 changed files with 650 additions and 451 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
build/
# Mac OS
.DS_Store

# Coverage files
coverage.*
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
.PHONY: test
test:
go clean -testcache
go test -race -v .
@go clean -testcache
@go test -race -v -coverprofile="coverage.txt" -covermode=atomic ./...

.PHONY: test-coverage
open-coverage:
@go tool cover -html=coverage.txt

bench:
go test -bench=.
@go test -bench=.

Loading

0 comments on commit 6b7b0f8

Please sign in to comment.