| 96 | } |
| 97 | |
| 98 | type noEncoder struct { |
| 99 | missingEncoder string |
| 100 | } |
| 101 | |
| 102 | func (e *noEncoder) Encode(v interface{}) error { |
| 103 | return fmt.Errorf("%q: %w", e.missingEncoder, ErrNoEncoderAvailable) |
nothing calls this directly
no outgoing calls
no test coverage detected