Skip to content

v1.0.2

Latest
Compare
Choose a tag to compare
@lastares lastares released this 28 Aug 07:43

新增直接传locale翻译函数

  • Translate(locale *language.Tag, msgId string)
  • TranslateWithTemplate(locale *language.Tag, msgId string, template map[string]any)

更新了文档说明