Browse Source

added DSN config

master
sp 4 years ago
parent
commit
1a72ab7237
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      main.go

+ 2
- 0
main.go View File

@@ -26,6 +26,8 @@ func main() {
return
}

loan.SetDSN(config.DSN)

setupRootFileServer()
//always the last one
setupHTTPHandler()

Loading…
Cancel
Save