contextValueSpec preserves legacy, context-bound Export(name, *Value) behavior.
| 49 | |
| 50 | // contextValueSpec preserves legacy, context-bound Export(name, *Value) behavior. |
| 51 | type contextValueSpec struct { |
| 52 | value *Value |
| 53 | } |
| 54 | |
| 55 | func (s contextValueSpec) Materialize(_ *Context) (*Value, error) { |
| 56 | if s.value == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected