2024-01-02 14:04:16 +00:00
|
|
|
package benefactorkindboxhandler
|
|
|
|
|
|
|
|
import (
|
2024-01-02 15:35:26 +00:00
|
|
|
echo "github.com/labstack/echo/v4"
|
2024-01-02 14:04:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func (h Handler) SetRoutes(e *echo.Echo) {
|
|
|
|
r := e.Group("/benefactor/kindboxes")
|
|
|
|
|
2024-01-02 15:35:26 +00:00
|
|
|
r.GET("/:id", h.Get).Name = "benefactor-getkindboxbyid"
|
|
|
|
r.GET("/", h.GetAll).Name = "benefactor-getallkindbox"
|
2024-01-02 14:04:16 +00:00
|
|
|
}
|