Sfoglia il codice sorgente

enfore template file suffix

tags/v0.5
patrick 6 anni fa
parent
commit
d71ce696e4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      db_crud.go

+ 1
- 1
db_crud.go Vedi 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…
Annulla
Salva