From 4a3a1c30795345e664bc40e1038d9ad731f19d2d Mon Sep 17 00:00:00 2001 From: Cory LaNou Date: Tue, 17 Feb 2015 12:35:11 -0700 Subject: [PATCH] add reference go getting go cover tool --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1c910ab0bd..feda4c5de1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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)