Skip to content

Commit

Permalink
add gocover
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoiron committed May 19, 2017
1 parent 8f3b8c2 commit c4ba7ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home/.bash_aliases
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ function go-link {
} }


alias nzbfetch="~/.local/bin/nzbget -c .nzbget-old/nzbget.cfg" alias nzbfetch="~/.local/bin/nzbget -c .nzbget-old/nzbget.cfg"

gocover() {
go test -cover -coverprofile=cover.out && go tool cover -html=cover.out
}

0 comments on commit c4ba7ca

Please sign in to comment.