1.1 KiB
1.1 KiB
godot
Linter that checks if all top-level comments contain a period at the end of the last sentence if needed.
CodeReviewComments quote:
Comments should begin with the name of the thing being described and end in a period
Install and run
go get -u github.com/tetafro/godot/cmd/godot
godot ./myproject
Examples
Code
package math
// Sum sums two integers
func Sum(a, b int) int {
return a + b // result
}
Output
Top level comment should end in a period: math/math.go:3:1