Last active
January 7, 2016 11:09
-
-
Save mattyw/4ce1de90e706626721cf to your computer and use it in GitHub Desktop.
A useful script to put in your path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
file=`mktemp` | |
echo $file | |
go test -coverprofile=$file $@ | |
go tool cover -html=$file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment