forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/benefactor/kind_box/route.go

13 lines
280 B
Go

package benefactorkindboxhandler
import (
echo "github.com/labstack/echo/v4"
)
func (h Handler) SetRoutes(e *echo.Echo) {
r := e.Group("/benefactor/kindboxes")
r.GET("/:id", h.Get).Name = "benefactor-getkindboxbyid"
r.GET("/", h.GetAll).Name = "benefactor-getallkindbox"
}