Fix method name in the comment

This commit is contained in:
Cosmin Cojocar 2023-02-15 20:47:07 +01:00 committed by Cosmin Cojocar
parent de2c6a36fa
commit 1915717875

View file

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