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.22 Kb · 13 lines
 1package importdemo
 2
 3// ExampleRender pins the realm's Render output as a testable example.
 4func ExampleRender() {
 5	print(Render(""))
 6	// Output:
 7	// # [thread] Hello!
 8	//
 9	// ## Foo
10	// foo foo foo
11	// ## Bar
12	// bar bar bar
13}