In a previous post I blogged about the cover tool coming in Go 1.2 and a bash helper function I use to make the tool a little easier to use. Since then I’ve extended these helpers so I wanted to blog about the improvements. Passing arguments to the testing tool cover () { t=$(tempfile) go test $COVERFLAGS -coverprofile=$t $@ && go tool cover -func=$t && unlink $t } The first improvement is to be a