From 2f4acf46c64ee3073311b0be5547cf3b80f0a1ef Mon Sep 17 00:00:00 2001 From: "asta.xie" Date: Thu, 27 Mar 2014 08:49:57 +0800 Subject: [PATCH] modify the template file --- template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.go b/template.go index 26f13cfc..eb8d0c5d 100644 --- a/template.go +++ b/template.go @@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp fileabspath = filepath.Join(root, file) } if e := utils.FileExists(fileabspath); !e { - panic("can't find template file" + file) + panic("can't find template file:" + file) } data, err := ioutil.ReadFile(fileabspath) if err != nil {