greets
intgreets counts how many times Greet has been called (persistent state).
Value
0
Greet
func(name string) stringGreet records a greeting from the caller and returns it. Crossing function: it mutates persistent state, so it takes \`cur realm\` per the gno 0.9 interrealm convention.
- OID
- 0e9f8b…5e14:4
Greet details
Count
func() intCount returns how many greetings have been recorded. Read-only.
- OID
- 0e9f8b…5e14:6
Count details
Render
func(path string) stringRender is the gnoweb Markdown view.
- OID
- 0e9f8b…5e14:7
Render details
itoa
func(n int) stringitoa avoids importing strconv for a single conversion in the canary.
- OID
- 0e9f8b…5e14:8