Skip to content

Commit

Permalink
remove a debug message
Browse files Browse the repository at this point in the history
Signed-off-by: Toby Yan <me@tobyan.com>
  • Loading branch information
toby1991 committed Apr 22, 2019
1 parent 3acdf06 commit da42ec0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions view/kernel.go
Expand Up @@ -4,8 +4,6 @@ import (
"html/template"

"github.com/gin-gonic/gin"

"github.com/totoval/framework/helpers/debug"
)

var templateList []*template.Template
Expand All @@ -17,7 +15,6 @@ func Initialize(r *gin.Engine) {
}

func AddView(name string, content string) {
debug.Dump(name)
tmpl := template.Must(template.New(name).Parse(content))
templateList = append(templateList, tmpl)
}

0 comments on commit da42ec0

Please sign in to comment.