From 05d97531a9e3036003f91a8c4b76314242ef980a Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Fri, 21 May 2021 00:02:33 +0300 Subject: [PATCH] [nspcc-dev/neofs-node#116] policy: Fix grammar.go Linter prints warnings because of tags on structs on grammar.go. But we need this syntax, so govet and golint are turned off for this file. Signed-off-by: Angira Kekteeva --- pkg/policy/grammar.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/policy/grammar.go b/pkg/policy/grammar.go index 3c69527..6fd228e 100644 --- a/pkg/policy/grammar.go +++ b/pkg/policy/grammar.go @@ -1,3 +1,4 @@ +//nolint:govet,golint // fails on struct tags here, but participle needs this syntax package policy import (