Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

render_example_test.gno

0.28 Kb · 10 lines
 1package outfmt
 2
 3// ExampleRender pins the realm's Render output as a testable example.
 4func ExampleRender() {
 5	print(Render(""))
 6	// Output:
 7	// * [?fmt=stringer](/r/moul/outfmt:?fmt=stringer)
 8	// * [?fmt=json](/r/moul/outfmt:?fmt=json)
 9	// * [?fmt=jsonp](/r/moul/outfmt:?fmt=jsonp)
10}