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.

cowsaydemo/v0 package

Overview

Package cowsaydemo is a small gnoweb demo of the cowsay renderer provided by the p/moul/x/daily/cowsay(/p/nym-moultest123/x/daily/cowsay/v0) library: it makes the ASCII cow say whatever you put in the path.

It contains no rendering logic of its own — the art comes entirely from `cowsay.Say`.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render displays the cow for gnoweb.

Example
1Render("")             -> default message ("Moo!")
2Render("/hello there") -> renders "hello there", word-wrapped

Param

Command

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

Result