Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
17
type
TestEncoder
struct
{
18
w io.Writer
19
}
20
21
func
(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