Files
old-svijetlastrana/server/router/placesroute/router.go

18 lines
364 B
Go
Raw Normal View History

2018-04-25 13:16:36 +02:00
package placesroute
import (
"bitbucket.org/nemt/nemt-portal-api/application/applicationservice"
"bitbucket.org/nemt/nemt-portal-api/infra/config"
"github.com/labstack/echo"
)
const (
rootRoute = ""
)
func Register(r *echo.Group, cfg *config.Config, svc *applicationservice.Service) {
ctrl := controllerInstance(cfg, svc)
r.GET(rootRoute, ctrl.handle)
}