Просмотр исходного кода

enfore template file suffix

tags/v0.5
patrick 5 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить