()
| 76 | type StringEncoder string |
| 77 | |
| 78 | func (s StringEncoder) Encode() ([]byte, error) { |
| 79 | return []byte(s), nil |
| 80 | } |
| 81 | |
| 82 | func (s StringEncoder) Length() int { |
| 83 | return len(s) |
nothing calls this directly
no outgoing calls
no test coverage detected