commit e2a8c2b65d2bc671f49fc1a9e7b7b1b343f7f72c
parent b77414a0f0cb0c8cea116ae6655fc79a7964aa70
Author: gearsix <gearsix@tuta.io>
Date: Thu, 25 Mar 2021 11:44:49 +0000
typo fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/template.go b/template.go
@@ -127,7 +127,7 @@ func loadTemplateFileMst(root string, partials ...string) (*mst.Template, error)
// parsed and associated with the parsed root template.
func LoadTemplateFile(root string, partials ...string) (t Template, e error) {
if len(root) == 0 {
- return nil, fmt.Errorf("no root tempslate specified")
+ return nil, fmt.Errorf("no root template specified")
}
if stat, err := os.Stat(root); err != nil {