2020-03-16 11:56:57 +03:00
..
2020-03-16 11:56:57 +03:00
2020-03-16 11:56:57 +03:00
2020-03-16 11:56:57 +03:00
2020-03-16 11:56:57 +03:00
2020-03-16 11:56:57 +03:00

godot

License Github CI Go Report Codecov

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