diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3d800336 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +coverage\.html diff --git a/coverage.sh b/coverage.sh new file mode 100755 index 00000000..4b35f56d --- /dev/null +++ b/coverage.sh @@ -0,0 +1,3 @@ +go test -race -cover -coverprofile=c.out +go tool cover -html=c.out -o coverage.html +rm c.out