(visitor ComponentVisitor)
| 45 | var componentVisitorType reflect.Type = reflect.TypeOf(ComponentVisitor{}) |
| 46 | |
| 47 | func (union Component) Visit(visitor ComponentVisitor) error { |
| 48 | return visitUnion(union, visitor) |
| 49 | } |
| 50 | func (union *Component) discriminator() *string { |
| 51 | return (*string)(&union.ComponentType) |
| 52 | } |