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

Method String

render_json_test.go:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29func (e TestEncoder) SetIndent(_, _ string) {}
30
31func (e TestEncoder) String() string {
32 return "{\"one\":\"world\",\"two\":\"hello\"}"
33}
34
35func TestJSONBasic(t *testing.T) {
36 render := New()

Callers 15

EncodeMethod · 0.95
TestRenderPartialFunction · 0.80
TestJSONPBasicFunction · 0.80
TestJSONPRenderIndentedFunction · 0.80
TestJSONPDisabledCharsetFunction · 0.80
TestDataBinaryBasicFunction · 0.80
TestDataCustomMimeTypeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected