add reference go getting go cover tool

pull/1619/head
Cory LaNou 2015-02-17 12:35:11 -07:00
parent bc1640f78a
commit 4a3a1c3079
1 changed files with 7 additions and 0 deletions

View File

@ -113,6 +113,13 @@ go test -run=TestDatabase . -v
go test -coverprofile /tmp/cover . && go tool cover -html /tmp/cover
```
To install go cover, run the following command:
```
go get golang.org/x/tools/cmd/cover
```
Useful links
------------
- [Useful techniques in Go](http://arslan.io/ten-useful-techniques-in-go)