该代码
text/template/helper.go提到
// The pattern is processed by filepath.Glob and must match at least one file.
filepath.Glob()说“的模式的语法是一样的
Match”
如果名称与外壳文件名称模式匹配,则Match返回true。
Match()的实现似乎并没有
**区别对待’
‘,而只是将’
*‘视为与任何非分隔符字符序列匹配。
那意味着’
**‘等价于’
*‘,这反过来又解释了为什么比赛只在一个深度进行。



