mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Fix method name in the comment
This commit is contained in:
parent
de2c6a36fa
commit
1915717875
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ type Context struct {
|
||||||
PassedValues map[string]interface{}
|
PassedValues map[string]interface{}
|
||||||
}
|
}
|
||||||
|
|
||||||
// getFileAtNodePos returns the file at the node position in the file set available in the context.
|
// GetFileAtNodePos returns the file at the node position in the file set available in the context.
|
||||||
func (ctx *Context) GetFileAtNodePos(node ast.Node) *token.File {
|
func (ctx *Context) GetFileAtNodePos(node ast.Node) *token.File {
|
||||||
return ctx.FileSet.File(node.Pos())
|
return ctx.FileSet.File(node.Pos())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue