It noticed a weird thing with Go templates when I try to use Funcs and FuncMap. The following code works as expected:
Funcs
FuncMap
buffer := bytes.N
you need to first parse all the files and execute them .you cannot direclty access all the files .