ソースを参照

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

読み込み中…
キャンセル
保存