mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +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{}
|
||||
}
|
||||
|
||||
// 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 {
|
||||
return ctx.FileSet.File(node.Pos())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue