Files
trikotwaschliste/routes/routes.go
2020-10-09 15:10:13 +02:00

13 lines
274 B
Go

package routes
import (
"github.com/gin-gonic/gin"
"github.com/jackc/pgx/v4/pgxpool"
"trikotwaschliste/handler"
)
func RoutesInit(router *gin.Engine, pool *pgxpool.Pool) {
router.GET("/", handler.MainPage(pool))
router.POST("/uploadname", handler.UploadName(pool))
}