Skip to content

Commit

Permalink
Revert "Update templates.go"
Browse files Browse the repository at this point in the history
This reverts commit 170dace.
  • Loading branch information
midoks committed Jul 26, 2024
1 parent 170dace commit 12ae9e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/assets/templates/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ func NewTemplateFileSystem(dir, customDir string) macaron.TemplateFileSystem {

var files []macaron.TemplateFile
names := AssetNames()

fmt.Println("imail",names)
for _, name := range names {
if !strings.HasPrefix(name, dir) {
continue
Expand All @@ -70,8 +68,6 @@ func NewTemplateFileSystem(dir, customDir string) macaron.TemplateFileSystem {
name = strings.TrimPrefix(name, dir)
ext := path.Ext(name)
name = strings.TrimSuffix(name, ext)

fmt.Println(name,data,ext)
files = append(files, macaron.NewTplFile(name, data, ext))
}
return &fileSystem{files: files}
Expand Down

0 comments on commit 12ae9e9

Please sign in to comment.