From 6f475da116edb7a86a809a25b6b47c70805ba219 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 17 Nov 2016 23:40:03 +0100 Subject: Fix golint warnings, add helper script --- golint.bash | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 golint.bash (limited to 'golint.bash') diff --git a/golint.bash b/golint.bash new file mode 100755 index 0000000..4ab0e8c --- /dev/null +++ b/golint.bash @@ -0,0 +1,6 @@ +#!/bin/bash + +golint ./... | \ + grep -v "don't use an underscore in package name" | \ + grep -v "don't use ALL_CAPS in Go names; use CamelCase" | + grep -v "struct field allow_other should be allowOther" -- cgit v1.2.3