From 1915717875e285b9fd7922ea0e3e7cdc194b8425 Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar Date: Wed, 15 Feb 2023 20:47:07 +0100 Subject: [PATCH] Fix method name in the comment --- analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer.go b/analyzer.go index 0cf24ee..d4c65aa 100644 --- a/analyzer.go +++ b/analyzer.go @@ -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()) }