PathrockNetwork Gno Explorer
HomeBlocksTransactionsRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/moul/printfdebugging/v0

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
v0
Namespace
moul / printfdebugging
Files
4 (README)(gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/moul/printfdebugging/v0
gno
0.9

Files (4)

  • README.mdmarkdown
  • gnomod.tomltoml
  • color.gnogno
  • printfdebugging.gnogno
printfdebugging.gnogno
1// this package is a joke... or not.
2package printfdebugging
3
4import (
5 "strings"
6
7 "gno.land/p/nt/ufmt/v0"
8)
9
10func BigRedLine(args ...string) {
11 println(ufmt.Sprintf("%s[%dm####################################%s[%dm %s",
12 Escape, int(BgRed), Escape, int(Reset),
13 strings.Join(args, " "),
14 ))
15}
16
17func Success() {
18 println(" \033[31mS\033[33mU\033[32mC\033[36mC\033[34mE\033[35mS\033[31mS\033[0m ")
19}
20

Functions

not supported for pure packages by the node (vm/qfuncs)

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.