Add database

This commit is contained in:
2020-10-08 14:30:30 +02:00
parent 7ee52c758b
commit 135cd976d0
3 changed files with 22 additions and 10 deletions

View File

@@ -7,5 +7,5 @@ import (
)
func RoutesInit(router *gin.Engine, pool *pgxpool.Pool) {
router.GET("/", handler.MainPage())
router.GET("/", handler.MainPage(pool))
}