瀏覽代碼

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

Loading…
取消
儲存