diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-06 11:34:20 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-07 10:41:01 +0200 |
| commit | 3f04838a10346e60b9dd81f0adb47c2518486d28 (patch) | |
| tree | 76348cbffe82c8126b2f01ad5e1b6d757c1d3007 /pkg/ast/ast.go | |
| parent | cdf1aa4dc338ddd37917942e7d6b992f4e079a00 (diff) | |
.golangci.yml: make goconst checker more strict
Diffstat (limited to 'pkg/ast/ast.go')
| -rw-r--r-- | pkg/ast/ast.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ast/ast.go b/pkg/ast/ast.go index 60b984134..991d27ffc 100644 --- a/pkg/ast/ast.go +++ b/pkg/ast/ast.go @@ -216,7 +216,7 @@ type Type struct { } func (n *Type) Info() (Pos, string, string) { - return n.Pos, "type", n.Ident + return n.Pos, "type-opt", n.Ident } type Field struct { |
