Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

globdemo/v0 package

Overview

Package globdemo is a gnoweb demo of the shell-pattern matcher provided by the p/moul/x/daily/glob(/p/moul/x/daily/glob/v0) library: the grammar, the two matching modes, and the allowlist the package exists for.

It contains no matching logic of its own. Stateless, so Render is deterministic: every verdict below is computed by the library from the fixed tables at the top of this file, never from chain state, which is what lets an example test pin the page.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render renders the demo for gnoweb.

Example
1Render("") / Render("/") -> the full demo

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/x/daily/globdemo/v0.Render()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/x/daily/globdemo/v0, for example a function call with arguments.