79632181

Date: 2025-05-21 14:20:26
Score: 2
Natty:
Report link

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))

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mori