Skip to content Search Apps Documentation Source Content 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.

romannumdemo/v0 package

Overview

Package romannumdemo is a small gnoweb demo of the Roman-numeral converter provided by the p/moul/x/daily/romannum(/p/nym-moultest123/x/daily/romannum/v0) library: it renders a table of worked examples and interactive integer→Roman and Roman→integer conversions.

It contains no conversion logic of its own — everything comes from romannum.ToRoman and romannum.FromRoman.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render drives gnoweb:

  • "" or "/" → a table of example conversions
  • "/<n>" → integer → Roman
  • "/r/<roman>" → Roman → integer

Param

Command

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

Result