Documentation ¶
Index ¶
- func DeletePrinter(id string)
- func Fprintf(id string, w io.Writer, key message.Reference, a ...interface{}) (n int, err error)
- func Printf(id string, format string, args ...interface{}) (n int, err error)
- func Sprintf(id string, format string, args ...interface{}) string
- type PluralRule
- type PrinterSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePrinter ¶
func DeletePrinter(id string)
Types ¶
type PluralRule ¶
PluralRule is Plural rule
type PrinterSession ¶
type PrinterSession struct {
// contains filtered or unexported fields
}
func RegistPrinter ¶
func RegistPrinter(id string, lang language.Tag) *PrinterSession
func (*PrinterSession) Fprintf ¶
func (s *PrinterSession) Fprintf(w io.Writer, key message.Reference, a ...interface{}) (n int, err error)
Fprintf is like fmt.Fprintf, but using language-specific formatting.
func (*PrinterSession) Printf ¶
func (s *PrinterSession) Printf(format string, args ...interface{}) (n int, err error)
Printf is like fmt.Printf, but using language-specific formatting.
func (*PrinterSession) Sprintf ¶
func (s *PrinterSession) Sprintf(format string, args ...interface{}) string
Sprintf is like fmt.Sprintf, but using language-specific formatting.
Click to show internal directories.
Click to hide internal directories.