You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
301 B
Go

package controllers
import (
"github.com/gin-gonic/gin"
3 years ago
auth "spahl.ddns.net/jasper/wok-able/controllers/authentication"
v1 "spahl.ddns.net/jasper/wok-able/controllers/v1"
)
func Setup(c *gin.Engine) {
api := c.Group("/api")
{
v1.Setup(api.Group("/v1"))
auth.Setup(api.Group("/auth"))
}
}