Type returns the reflect.Type of the component the definition produces.
()
| 75 | |
| 76 | // Type returns the reflect.Type of the component the definition produces. |
| 77 | func (d *Definition) Type() reflect.Type { |
| 78 | return d.constructor.OutType() |
| 79 | } |
| 80 | |
| 81 | // Constructor returns the constructor metadata used to build the component. |
| 82 | func (d *Definition) Constructor() Constructor { |
no test coverage detected