From b3b10273b5bf5e1956278b5171a65653e688a08d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 1 Jun 2017 22:17:08 +0200 Subject: golint: get rid of underscore warnings for good. We got another warning for force_other: cli_args.go:26:45: don't use underscores in Go names; struct field force_owner should be forceOwner Use a broader grep. --- golint.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/golint.bash b/golint.bash index 5040c12..be79ed1 100755 --- a/golint.bash +++ b/golint.bash @@ -4,8 +4,7 @@ OUTPUT=$( 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" | - grep -v "struct field serialize_reads should be serializeReads" + grep -v "don't use underscores in Go names" ) # No output --> all good -- cgit v1.2.3