umstellung auf Service und Repository Verwendung - WIP
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"kontor-api-gin/pkg/controllers"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func SetupApiRoutes(router *gin.Engine) *gin.RouterGroup {
|
||||
v1 := router.Group("api/v1")
|
||||
api := router.Group("/api")
|
||||
api.POST("/login", controllers.LoginHandler)
|
||||
v1 := api.Group("/v1")
|
||||
return v1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user