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

README.md

1.35 Kb · 30 lines

gno.land/p/moul/x/daily/cowsay/v0

cowsaySay(msg string) string returns the classic ASCII cow with a speech bubble containing msg.

Pure deterministic string art: the message is word-wrapped into a speech balloon (single line uses < >, multi-line uses / \ | | borders) with the happy cow stacked underneath. Port of cowsay by Tony Monroe (1999); no os/exec, no chain coupling.

1import "gno.land/p/moul/x/daily/cowsay/v0"
2
3art := cowsay.Say("Hello, gno.land!")  // bubble + cow, ready for a code block
4cowsay.Say("")                          // default message ("Moo!")

Live demo: r/moul/x/daily/cowsaydemo · render it at /r/moul/x/daily/cowsaydemo/v0.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.