From d0006ef3064289b4a45189bb92e22e0b6f103494 Mon Sep 17 00:00:00 2001 From: gedi Date: Wed, 19 Sep 2018 11:34:52 +0300 Subject: [PATCH] go vet detected error in gherkin lib --- gherkin/ast.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gherkin/ast.go b/gherkin/ast.go index d0909e6..519e0b3 100644 --- a/gherkin/ast.go +++ b/gherkin/ast.go @@ -24,14 +24,12 @@ type Feature struct { type Comment struct { Node - Location *Location `json:"location,omitempty"` - Text string `json:"text"` + Text string `json:"text"` } type Tag struct { Node - Location *Location `json:"location,omitempty"` - Name string `json:"name"` + Name string `json:"name"` } type Background struct {