소스 검색

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…
취소
저장