1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-26 23:42:29 -05:00

Fixup build error from typo

This was introduced in 3869f3a3b2
This commit is contained in:
Aaron Lindsay 2017-10-30 21:06:27 -04:00
parent 3869f3a3b2
commit 5056b2b2ec

View File

@ -66,7 +66,7 @@ func staticHandler(w http.ResponseWriter, r *http.Request, basedir string) {
} }
func main() { func main() {
dsn := db.GetDSN(cfg.MoneyGo.DbType, cfg.MoneyGo.DSN) dsn := db.GetDSN(cfg.MoneyGo.DBType, cfg.MoneyGo.DSN)
database, err := sql.Open(cfg.MoneyGo.DBType.String(), dsn) database, err := sql.Open(cfg.MoneyGo.DBType.String(), dsn)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)