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.48 Kb · 16 lines
 1package timecapsule
 2
 3// ExampleRender pins the realm's Render output as a testable example.
 4func ExampleRender() {
 5	print(Render(""))
 6	// Output:
 7	// # ⏳ Time Capsule Guestbook
 8	//
 9	// Leave a message for the future. It stays sealed until its unlock block height, then anyone can read it — call `Leave(message, delayBlocks)`.
10	//
11	// 0 capsule(s) total · 0 unlocked · 0 still sealed.
12	//
13	// ## Unlocked messages
14	//
15	// _None yet. Be the first to leave one that will open later._
16}