Add migrations
This commit is contained in:
@@ -2,9 +2,10 @@ package routes
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/jackc/pgx/v4/pgxpool"
|
||||
"trikotwaschliste/handler"
|
||||
)
|
||||
|
||||
func RoutesInit(router *gin.Engine) {
|
||||
func RoutesInit(router *gin.Engine, pool *pgxpool.Pool) {
|
||||
router.GET("/", handler.MainPage())
|
||||
}
|
||||
|
Reference in New Issue
Block a user