Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalMessage ¶
type LocalMessage struct {
// contains filtered or unexported fields
}
func NewLocalMessages ¶
func NewLocalMessages(bundle *i18n.Bundle, langs ...string) *LocalMessage
func (*LocalMessage) Get ¶
func (s *LocalMessage) Get(messageID string, args ...interface{}) string
Get messageID args can be, 1. empty, 2.map[string]interface, 3. multple args like Get(id, "name","jim" , "age" , 1)
Click to show internal directories.
Click to hide internal directories.