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

bad/v0 package

Overview

Package bad is the handler realm that exists to be refused (pattern G; see ../../README.md).

It satisfies facade.Handler exactly as well as the others do: same methods, same signatures, compiles and proposes itself without complaint. What it does is drop the "upper" verb and change "repeat" to take one argument instead of two, both of which break a caller already compiled against v0.

Nothing in gno's type system can see that. A Go interface says what methods exist, not which verbs the data behind them still answers, which is the whole argument for declaring the API as data and diffing it at accept time.

Function

Instance

func Instance() facade.Handler

Instance exposes the singleton.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/upgrade/schema/impl/bad/v0.Instance()"

Result