This commit is contained in:
2023-09-26 16:42:46 +02:00
parent f5938d23df
commit e0b7d73e74
13 changed files with 348 additions and 298 deletions

View File

@@ -16,6 +16,7 @@ type CarpoolServiceHandler struct {
InternalOperatorID string
}
// NewCarpoolServiceHandler initiates the carpool service handler, implementing the COOPGO Carpool Service business logic
func NewCarpoolServiceHandler(cfg *viper.Viper, storage storage.Storage, tilesHandler *tiles.TilesHandler, routing routing.RoutingService) (*CarpoolServiceHandler, error) {
operator := cfg.GetString("interoperability.internal_operator_id")
return &CarpoolServiceHandler{