You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
264 B
15 lines
264 B
package api
|
|
|
|
import (
|
|
v1 "git.devices.local/mawas/golang-api-skeleton/api/v1"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// ApplyRoutes applies router to gin Router
|
|
func ApplyRoutes(r *gin.Engine) *gin.Engine {
|
|
api := r.Group("/api")
|
|
{
|
|
v1.ApplyRoutes(api)
|
|
}
|
|
return r
|
|
}
|