Skip to content

Instantly share code, notes, and snippets.

@mattyw
Last active January 7, 2016 11:09
Show Gist options
  • Save mattyw/4ce1de90e706626721cf to your computer and use it in GitHub Desktop.
Save mattyw/4ce1de90e706626721cf to your computer and use it in GitHub Desktop.
A useful script to put in your path
#!/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