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.
 
 

17 lines
337 B

package v1
import (
"git.devices.local/mawas/golang-api-skeleton/api/v1/tokens"
"git.devices.local/mawas/golang-api-skeleton/api/v1/users"
"github.com/gin-gonic/gin"
)
func ApplyRoutes(r *gin.RouterGroup) *gin.RouterGroup {
v1 := r.Group("/v1")
{
v1.GET("/ping")
users.ApplyRoutes(v1)
tokens.ApplyRoutes(v1)
}
return v1
}