aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-04 22:20:22 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-05 12:23:19 +0200
commite3d77cf2a3cefdc0b6781c32ca3b878568a5856b (patch)
treee7f2c32360964e604a8e4804cf9b7a26b18ec35b /pkg/ast
parent26ae0a0eddf244d4273f79e4abda158780c4c645 (diff)
.golangci.yml: enable godot checker
A good one. Lots of fixed comments are contributed by episodic contributors. So it's good to catch these earlier.
Diffstat (limited to 'pkg/ast')
-rw-r--r--pkg/ast/ast.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/ast/ast.go b/pkg/ast/ast.go
index 8cd7bef6e..60b984134 100644
--- a/pkg/ast/ast.go
+++ b/pkg/ast/ast.go
@@ -27,7 +27,7 @@ type Node interface {
walk(cb func(Node))
}
-// Top-level AST nodes:
+// Top-level AST nodes.
type NewLine struct {
Pos Pos
@@ -150,7 +150,7 @@ func (n *TypeDef) Info() (Pos, string, string) {
return n.Pos, "type", n.Name.Name
}
-// Not top-level AST nodes:
+// Not top-level AST nodes.
type Ident struct {
Pos Pos