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
317 B
Go
16 lines
317 B
Go
3 years ago
|
package controllers
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
auth "spahl.ddns.net/jasper/wok-able-backend/controllers/authentication"
|
||
|
v1 "spahl.ddns.net/jasper/wok-able-backend/controllers/v1"
|
||
|
)
|
||
|
|
||
|
func Setup(c *gin.Engine) {
|
||
|
api := c.Group("/api")
|
||
|
{
|
||
|
v1.Setup(api.Group("/v1"))
|
||
|
auth.Setup(api.Group("/auth"))
|
||
|
}
|
||
|
}
|