internal

package
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	Src        string
	LeftDelim  string
	RightDelim string
	// contains filtered or unexported fields
}

Template stores the template for a string and a cached version of the parsed template if they are cacheable.

func (*Template) Execute added in v2.0.1

func (t *Template) Execute(parser template.Parser, data interface{}) (string, error)

Directories

Path Synopsis
Package plural provides support for pluralizing messages according to CLDR rules http://cldr.unicode.org/index/cldr-spec/plural-rules
Package plural provides support for pluralizing messages according to CLDR rules http://cldr.unicode.org/index/cldr-spec/plural-rules
codegen command