myi18n

package
v0.0.0-...-4215923 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKV

func AddKV(tag language.Tag, k, v string) error

AddKV 添加语言

func AddMessages

func AddMessages(tag language.Tag, messages ...*i18n.Message) error

AddMessages 添加语言

func Get

func Get(Key string) string

Get 获取值

func ReSet

func ReSet()

ReSet 重置

func SetLocalLG

func SetLocalLG(lg string)

SetLocalLG 设置本地语言包 (空 将获取系统值)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL