aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/main.go b/server/main.go
index 544f292..5eab33c 100644
--- a/server/main.go
+++ b/server/main.go
@@ -15,6 +15,9 @@ import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/gin-gonic/contrib/static"
+
+ // this handles all the database functions
+ db "github.com/MikunoNaka/openbills/database"
)
type Item struct {
@@ -25,6 +28,7 @@ type Item struct {
}
func main() {
+ db.SayHello()
myRouter := gin.New()
myRouter.Use(gin.Logger())