modify the template file
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp | ... | @@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp |
| 151 | fileabspath = filepath.Join(root, file) | 151 | fileabspath = filepath.Join(root, file) |
| 152 | } | 152 | } |
| 153 | if e := utils.FileExists(fileabspath); !e { | 153 | if e := utils.FileExists(fileabspath); !e { |
| 154 | panic("can't find template file" + file) | 154 | panic("can't find template file:" + file) |
| 155 | } | 155 | } |
| 156 | data, err := ioutil.ReadFile(fileabspath) | 156 | data, err := ioutil.ReadFile(fileabspath) |
| 157 | if err != nil { | 157 | if err != nil { | ... | ... |
-
Please register or sign in to post a comment