From 978c2e2a2b527a58bd1b095b391ed00ea12718ff Mon Sep 17 00:00:00 2001 From: Jean-Laurent de Morlhon Date: Mon, 23 Nov 2015 13:57:55 +0100 Subject: [PATCH] Fix #2178 - add go get lint to contributing guide Signed-off-by: Jean-Laurent de Morlhon --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c5dd59ed80..89779c9902 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -56,6 +56,8 @@ You may call: to clean-up build results. ## Tests and validation +We use the usual `go` tools for this, to run those commands you need at least the linter which you can +install with `go get -u github.com/golang/lint/golint` To run basic validation (dco, fmt), and the project unit tests, call: @@ -65,6 +67,7 @@ If you want more indepth validation (vet, lint), and all tests with race detecti $ make validate + If you make a pull request, it is highly encouraged that you submit tests for the code that you have added or modified in the same pull request.