Permalink
Browse files

add gocover

  • Loading branch information...
jmoiron committed May 19, 2017
1 parent 8f3b8c2 commit c4ba7ca07f253e30b25e6040a2afd16627e0300d
Showing with 4 additions and 0 deletions.
  1. +4 −0 home/.bash_aliases
View
@@ -58,3 +58,7 @@ function go-link {
}
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.