Browse Source

enfore template file suffix

tags/v0.5
patrick 5 years ago
parent
commit
d71ce696e4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      db_crud.go

+ 1
- 1
db_crud.go View File

City string City string
} }


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


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

Loading…
Cancel
Save