niki/delivery/http_server/benefactor/base/route.go

11 lines
212 B
Go
Raw Normal View History

2024-01-17 20:17:06 +00:00
package benefactorbasehandler
import "github.com/labstack/echo/v4"
func (h Handler) SetRoutes(e *echo.Echo) {
r := e.Group("/base")
r.GET("/provinces", h.GetAllProvinces)
2024-01-18 10:16:36 +00:00
r.GET("/cities", h.GetAllCities)
2024-01-17 20:17:06 +00:00
}