The template.ParseFile() does not support glob patterns , so it expects the specific file path . so use template.ParseGlob(). like this :
templates: template.Must(template.ParseGlob(path))