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

orderedmapdemo/v0 package

Overview

Package orderedmapdemo is a small gnoweb demo of the insertion-ordered map provided by the p/moul/x/daily/orderedmap(/p/moul/x/daily/orderedmap/v0) library: it shows that order survives updates and deletes.

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

Function

Render

func Render(path string) string

Render renders the demo for gnoweb.

Param

Command

gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/moul/x/daily/orderedmapdemo/v0.Render()"

Result