1
0
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:
Oleksandr Redko
2025-05-27 08:44:24 +03:00
committed by GitHub
parent 398f7a83eb
commit f4976873e7
49 changed files with 135 additions and 132 deletions

View File

@@ -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)