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
color.gnogno
1package printfdebugging23// consts copied from https://github.com/fatih/color/blob/main/color.go45// Attribute defines a single SGR Code6type Attribute int78const Escape = "\x1b"910// Base attributes11const (12	Reset Attribute = iota13	Bold14	Faint15	Italic16	Underline17	BlinkSlow18	BlinkRapid19	ReverseVideo20	Concealed21	CrossedOut22)2324const (25	ResetBold Attribute = iota + 2226	ResetItalic27	ResetUnderline28	ResetBlinking29	_30	ResetReversed31	ResetConcealed32	ResetCrossedOut33)3435// Foreground text colors36const (37	FgBlack Attribute = iota + 3038	FgRed39	FgGreen40	FgYellow41	FgBlue42	FgMagenta43	FgCyan44	FgWhite45)4647// Foreground Hi-Intensity text colors48const (49	FgHiBlack Attribute = iota + 9050	FgHiRed51	FgHiGreen52	FgHiYellow53	FgHiBlue54	FgHiMagenta55	FgHiCyan56	FgHiWhite57)5859// Background text colors60const (61	BgBlack Attribute = iota + 4062	BgRed63	BgGreen64	BgYellow65	BgBlue66	BgMagenta67	BgCyan68	BgWhite69)7071// Background Hi-Intensity text colors72const (73	BgHiBlack Attribute = iota + 10074	BgHiRed75	BgHiGreen76	BgHiYellow77	BgHiBlue78	BgHiMagenta79	BgHiCyan80	BgHiWhite81)82

Functions

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

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