package tmpl import ( "html/template" "github.com/gin-gonic/gin" ) func New(app *gin.Engine) { app.Static("/assets", "./res/assets") html := template.Must(template.ParseFiles("file1", "file2")) app.SetHTMLTemplate(html) }