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.31 Kb · 18 lines
 1package kudos
 2
 3// ExampleRender pins the realm's Render output as a testable example.
 4func ExampleRender() {
 5	print(Render(""))
 6	// Output:
 7	// # Kudos
 8	//
 9	// Give props to addresses. `Give(to, reason)` records a kudos.
10	//
11	// ## Leaderboard
12	//
13	// _No kudos yet._
14	//
15	// ## Recent kudos
16	//
17	// _Nothing here yet._
18}