mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-04-13 01:26:56 -04:00
Fixup build error from typo
This was introduced in 3869f3a3b2ca76238d13bae734fcc18af6700360
This commit is contained in:
parent
3869f3a3b2
commit
5056b2b2ec
2
main.go
2
main.go
@ -66,7 +66,7 @@ func staticHandler(w http.ResponseWriter, r *http.Request, basedir string) {
|
||||
}
|
||||
|
||||
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)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user