Add database
This commit is contained in:
@@ -7,5 +7,5 @@ import (
|
||||
)
|
||||
|
||||
func RoutesInit(router *gin.Engine, pool *pgxpool.Pool) {
|
||||
router.GET("/", handler.MainPage())
|
||||
router.GET("/", handler.MainPage(pool))
|
||||
}
|
||||
|
Reference in New Issue
Block a user