===== RouterStep =====
| 599 | // ===== RouterStep ===== |
| 600 | |
| 601 | type RouterStep struct { |
| 602 | id string |
| 603 | name string |
| 604 | description string |
| 605 | router func(*StepInput) string |
| 606 | routes map[string]Step |
| 607 | defaultStep Step |
| 608 | config *StepConfig |
| 609 | } |
| 610 | |
| 611 | func NewRouterStep(name string, router func(*StepInput) string, routes map[string]Step) *RouterStep { |
| 612 | return &RouterStep{ |
nothing calls this directly
no outgoing calls
no test coverage detected