Merge pull request #1619 from influxdb/contributing-go-cover

add reference go getting go cover tool
pull/1620/head
Cory LaNou 2015-02-17 12:46:29 -07:00
commit cf25e6042a
1 changed files with 5 additions and 0 deletions

View File

@ -113,6 +113,11 @@ 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)