1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

Rename and docs

This commit is contained in:
mgechev
2018-05-26 16:14:36 -07:00
parent 1899499017
commit 8c53dad5ec
10 changed files with 32 additions and 19 deletions

View File

@@ -1,7 +1,6 @@
package rule
import (
"fmt"
"go/ast"
"regexp"
@@ -76,9 +75,6 @@ func (w lintFileHeader) Visit(n ast.Node) ast.Visitor {
comment += text
}
fmt.Println("#############")
fmt.Println(comment)
fmt.Println("#############")
if !w.regex.Match([]byte(comment)) {
w.onFailure(failure)
}