Add migrations

This commit is contained in:
2020-10-08 14:08:50 +02:00
parent 98d8c2e5d8
commit 7ee52c758b
10 changed files with 779 additions and 141 deletions

View File

@@ -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())
}