Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

v0 source pure

Package errata renders errata entries supplied by another package or realm.

Overview

Package errata renders errata entries supplied by another package or realm.

Functions 3

func FormatUgnot

1func FormatUgnot(amount int64) string
source

FormatUgnot displays both denominations using exact integer arithmetic.

func RenderSection

1func RenderSection(title string, entries []Entry) string
source

RenderSection renders plain-text fields as a Markdown errata table.

func ShortAddr

1func ShortAddr(addr string) string
source

ShortAddr abbreviates a display address, preserving its prefix and suffix.

Types 1

type Entry

struct
1type Entry struct {
2	Location string
3	Text     string
4	Finder   string
5	FoundAt  int64
6	Paid     int64
7	Link     string
8}
source

Entry describes an accepted correction. Link is the optional finder profile URL.

Dependencies

Source Files 3