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

humanizedemo/v0 package

Overview

Package humanizedemo is a small gnoweb demo of the human-facing formatters provided by the p/moul/x/daily/humanize(/p/moul/x/daily/humanize/v0) library: byte sizes, thousands separators, ordinals and block counts.

It contains no formatting logic of its own. Stateless, so Render is deterministic.

Function

Render

func Render(path string) string

Render renders the demo for gnoweb.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/humanizedemo/v0.Render()"

Result