Annotation specifies how to wrap a target for [Annotate]. It can be used to set up additional options for a constructor, or with [Supply], for a value.
| 115 | // It can be used to set up additional options for a constructor, |
| 116 | // or with [Supply], for a value. |
| 117 | type Annotation interface { |
| 118 | apply(*annotated) error |
| 119 | build(*annotated) (interface{}, error) |
| 120 | } |
| 121 | |
| 122 | var ( |
| 123 | _typeOfError = reflect.TypeOf((*error)(nil)).Elem() |
no outgoing calls
no test coverage detected