chore: fix function name

Signed-off-by: avoidalone <wuguangdong@outlook.com>
This commit is contained in:
avoidalone 2024-03-11 15:28:58 +08:00 committed by Cosmin Cojocar
parent accd7a1319
commit 43b8b75d88

View file

@ -260,7 +260,7 @@ func getIdentStringValues(ident *ast.Ident, stringFinder func(ast.Node) (string,
return values return values
} }
// getIdentStringRecursive returns the string of values of an Ident if they can be resolved // GetIdentStringValuesRecursive returns the string of values of an Ident if they can be resolved
// The difference between this and GetIdentStringValues is that it will attempt to resolve the strings recursively, // The difference between this and GetIdentStringValues is that it will attempt to resolve the strings recursively,
// if it is passed a *ast.BinaryExpr. See GetStringRecursive for details // if it is passed a *ast.BinaryExpr. See GetStringRecursive for details
func GetIdentStringValuesRecursive(ident *ast.Ident) []string { func GetIdentStringValuesRecursive(ident *ast.Ident) []string {