MCPcopy Index your code
hub / github.com/unrolled/render / TestEncoder

Struct TestEncoder

render_json_test.go:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type TestEncoder struct {
18 w io.Writer
19}
20
21func (e TestEncoder) Encode(_ interface{}) error {
22 _, _ = e.w.Write([]byte(e.String()))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected