myPrayerJournal/src/my-prayer-journal.go

19 lines
364 B
Go
Raw Normal View History

2018-01-18 05:00:26 +00:00
// myPrayerJournal API Server
package main
import (
2018-01-18 17:29:01 +00:00
"log"
"github.com/danieljsummers/myPrayerJournal/src/api/data"
"github.com/danieljsummers/myPrayerJournal/src/api/routes"
2018-01-18 05:00:26 +00:00
)
func main() {
2018-01-18 17:29:01 +00:00
db, ok := data.Connect(&data.Settings{})
if !ok {
log.Fatal("Unable to connect to database; exiting")
}
router := routes.Routes(db)
_ = router // TODO: remove
2018-01-18 05:00:26 +00:00
}