Versions in this module Expand all Collapse all v0 v0.1.0 Jan 11, 2024 Changes in this version + func Extract(packName string, paths []string, outFile string) error + func Fprintf(w io.Writer, key string, args ...interface{}) (n int, err error) + func Generate(pkgName string, paths []string, outFile string) error + func Printf(format string, args ...interface{}) + func SetLang(lang interface{}) + func Sprintf(format string, args ...interface{}) string + func Update(srcFile string, destFile string, flush bool) error + type Domain struct + K string + type Message map[string]string + type PluralRule struct + Expr string + Pos int + Text string + Value int + func Plural(cases ...interface{}) []PluralRule + type Printer struct + func GetPrinter() *Printer + func NewPrinter(lang interface{}) *Printer + func (p *Printer) Fprintf(w io.Writer, key string, a ...interface{}) (n int, err error) + func (p *Printer) Printf(format string, args ...interface{}) + func (p *Printer) Sprintf(format string, args ...interface{}) string + func (p *Printer) String() string