aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index b7c6e49..863dd3a 100644
--- a/main.go
+++ b/main.go
@@ -24,6 +24,10 @@ func main() {
24 if err != nil { 24 if err != nil {
25 log.Fatal(err) 25 log.Fatal(err)
26 } 26 }
27 if err := db.Ping(); err != nil {
28 log.Fatal(err)
29 }
30
27 log.Println("database connection established") 31 log.Println("database connection established")
28 32
29 renderer = frontend.New("views") 33 renderer = frontend.New("views")