mirror of
https://github.com/mgechev/revive.git
synced 2025-11-27 22:18:41 +02:00
docs: improve comments for functions; enable godot (#1382)
This commit is contained in:
@@ -40,7 +40,7 @@ func ExprCall(expr *ast.ExprStmt) (Call, bool) {
|
||||
return Call{}, false
|
||||
}
|
||||
|
||||
// String returns the function name with package qualifier (if any)
|
||||
// String returns the function name with package qualifier (if any).
|
||||
func (f Call) String() string {
|
||||
if f.Pkg != "" {
|
||||
return fmt.Sprintf("%s.%s", f.Pkg, f.Name)
|
||||
|
||||
Reference in New Issue
Block a user