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.

pntprobe.gno

0.36 Kb · 18 lines
 1// Package pntprobe checks whether a realm importing the registry's /p/nt
 2// libraries goes live.
 3package pntprobe
 4
 5import (
 6	"gno.land/p/nt/bptree/v0"
 7	"gno.land/p/nt/markdown/sanitize/v0"
 8	"gno.land/p/nt/seqid/v0"
 9)
10
11var (
12	tree bptree.BPTree
13	last seqid.ID
14)
15
16func Size() int { return tree.Size() }
17
18func Next() string { return sanitize.InlineText(last.String()) }