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

v0 source realm

Package hello is a canary realm: it proves the end-to-end pipeline (workspace resolution of a versioned local depende...

Readme View source

gno.land/r/moul/hello/v0

Canary realm proving the end-to-end pipeline (imports p/moul/greet/v0).


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/hello/v0 dependency graph

⚠️ Disclaimer: provided as-is, without warranty; not security-audited. Full disclaimer: DISCLAIMER.

Overview

Package hello is a canary realm: it proves the end-to-end pipeline (workspace resolution of a versioned local dependency, gno test, gno lint, and CI) works from the very first commit. It has no external dependencies. Remove it once real realms land.

Functions 3

func Count

Action
1func Count() int
source

Count returns how many greetings have been recorded. Read-only.

func Greet

crossing Action
1func Greet(cur realm, name string) string
source

Greet 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.

func Render

1func Render(path string) string
source

Render is the gnoweb Markdown view.

Imports 2

Source Files 3