mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
docs: improve comments for functions; enable godot (#1382)
This commit is contained in:
@@ -66,7 +66,7 @@ type importShadowing struct {
|
||||
skipIdents map[*ast.Ident]struct{}
|
||||
}
|
||||
|
||||
// Visit visits AST nodes and checks if id nodes (ast.Ident) shadow an import name
|
||||
// Visit visits AST nodes and checks if id nodes (ast.Ident) shadow an import name.
|
||||
func (w importShadowing) Visit(n ast.Node) ast.Visitor {
|
||||
switch n := n.(type) {
|
||||
case *ast.AssignStmt:
|
||||
|
||||
Reference in New Issue
Block a user