package internal
import "github.com/nicksnyder/go-i18n/v2/internal"
Index ¶
Types ¶
type Template ¶
type Template struct { Src string LeftDelim string RightDelim string // contains filtered or unexported fields }
Template stores the template for a string.
func (*Template) Execute ¶
func (t *Template) Execute(funcs gotemplate.FuncMap, data interface{}) (string, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal/plural | Package plural provides support for pluralizing messages according to CLDR rules http://cldr.unicode.org/index/cldr-spec/plural-rules |
internal/plural/codegen |
- Version
- v2.2.1
- Published
- Nov 10, 2022
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 4 hours ago –
Tools for package owners.