浏览代码

enfore template file suffix

tags/v0.5
patrick 5 年前
父节点
当前提交
d71ce696e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      db_crud.go

+ 1
- 1
db_crud.go 查看文件

@@ -15,7 +15,7 @@ type Employee struct {
City string
}

var tmpl = template.Must(template.ParseGlob("form/*"))
var tmpl = template.Must(template.ParseGlob("form/*.tmpl"))

func dbConn() (db *sql.DB) {
dbDriver := Config.DB.Driver

正在加载...
取消
保存