mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
chore: fix function name
Signed-off-by: avoidalone <wuguangdong@outlook.com>
This commit is contained in:
parent
accd7a1319
commit
43b8b75d88
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue