Name a real method in declaredFuncs' example
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user