package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Packages

Package catalog defines collections of translated format strings.

# Functions

Catalog defines the catalog to be used.
Key creates a message Reference for a message where the given id is used for message lookup and the fallback is returned when no matches are found.
NewPrinter returns a Printer that formats messages tailored to language t.
Set calls Set on the initial default Catalog.
SetString calls SetString on the initial default Catalog.

# Variables

DefaultCatalog is used by SetString.

# Structs

A Printer implements language-specific formatted I/O analogous to the fmt package.

# Interfaces

A Reference is a string or a message reference.

# Type aliases

An Option defines an option of a Printer.