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

# Functions

New returns a new Catalog.
String specifies a plain message string.
Var sets a variable that may be substituted in formatting patterns using named substitution of the form "${name}".

# Variables

ErrNotFound indicates there was no message for the given key.

# Structs

A Catalog holds translations for messages for supported languages.
A Context is used for evaluating Messages.

# Interfaces

A Message holds a collection of translations for the same phrase that may vary based on the values of substitution arguments.

# Type aliases

An Option configures Catalog behavior.