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 bidimapdemo is a small gnoweb demo of the bidirectional map provided by the [p/moul/x/daily/bidimap](/p/moul/...

Readme View source

gno.land/r/moul/x/daily/bidimapdemo/v0

Live demo of p/moul/x/daily/bidimap.

A thin, stateless realm: it holds no state of its own and contains none of the library's logic — Render just exercises the package and shows the result. Because it is stateless, the rendered page is identical on every call and on every node.

Render it at /r/moul/x/daily/bidimapdemo/v0.

The library README explains the design and the trade-offs; this realm is the worked example.


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/x/daily/bidimapdemo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.

Overview

Package bidimapdemo is a small gnoweb demo of the bidirectional map provided by the p/moul/x/daily/bidimap(/p/moul/x/daily/bidimap/v0) library: it shows the reverse lookup and what happens when a binding is displaced.

It contains no map logic of its own. Stateless, so Render is deterministic — which is precisely what the library is for.

Functions 1

func Render

1func Render(path string) string
source

Render renders the demo for gnoweb.

Imports 3

Source Files 3