Name a real method in declaredFuncs' example

This commit is contained in:
2026-09-29 15:29:01 +02:00
committed by Lillem4n
parent ba43eb1c91
commit 789c47d0ee
+1 -1
View File
@@ -109,7 +109,7 @@ func declaredSymbols(files []*ast.File) map[string]bool {
}
// declaredFuncs is every function the package declares, a method keyed under its
// type: template.compileFormat.
// type: template.fixedText.
func declaredFuncs(files []*ast.File) map[string]bool {
names := map[string]bool{}
for _, f := range files {