( 43 个子文件 29KB ) render:Go包,用于轻松呈现JSON,XML,二进制数据和HTML模板响应-源码
render_json_test.go 7.01KB
render_html_test.go 9.74KB
render_data_test.go 1.61KB
helpers_pre16_test.go 1.83KB
render_xml_test.go 3.45KB
render_jsonp_test.go 2.79KB
render_text_test.go 2.57KB
engine_integration_test.go 1.41KB
[{"title":"( 43 个子文件 29KB ) render:Go包,用于轻松呈现JSON,XML,二进制数据和HTML模板响应-源码","children":[{"title":"render-master","children":[{"title":"render_json_test.go <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"helpers.go <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"render_html_test.go <span style='color:#111;'> 9.74KB </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"helpers_test.go <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"render_data_test.go <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"buffer.go <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"test.yaml <span style='color:#111;'> 503B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 16.39KB </span>","children":null,"spread":false},{"title":"helpers_pre16_test.go <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"render_xml_test.go <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"render_jsonp_test.go <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"render_text_test.go <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"fs.go <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"render_test.go <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"engine.go <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"helpers_pre16.go <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"custom_funcs","children":[{"title":"index.tmpl <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":false},{"title":"amber","children":[{"title":"example.amber <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"layouts","children":[{"title":"base.amber <span style='color:#111;'> 205B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"blocks","children":[{"title":"content-partial.tmpl <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"content.tmpl <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"layout.tmpl <span style='color:#111;'> 57B </span>","children":null,"spread":false}],"spread":false},{"title":"template-dir-test","children":[{"title":"dedicated.tmpl","children":[{"title":"notbad.tmpl <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"0.tmpl <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"subdir","children":[{"title":"1.tmpl <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"partials","children":[{"title":"content-partial.tmpl <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"content.tmpl <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"layout.tmpl <span style='color:#111;'> 61B </span>","children":null,"spread":false}],"spread":false},{"title":"basic","children":[{"title":"another_layout.tmpl <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"admin","children":[{"title":"index.tmpl <span style='color:#111;'> 21B </span>","children":null,"spread":false}],"spread":false},{"title":"content.tmpl <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"layout.tmpl <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"current_layout.tmpl <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"hello.tmpl <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"delims.tmpl <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"hypertext.html <span style='color:#111;'> 11B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"engine_integration_test.go <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"render.go <span style='color:#111;'> 13.39KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]