Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct { Path string `json:"path" yaml:"path"` // 语言文件存储路径 Langs []string `json:"langs" yaml:"langs"` // 支持的语言 DefaultLng string `json:"defaultLng" yaml:"defaultLang"` // 默认语言 ZH_cn FileType string `json:"fileType" yaml:"fileType"` // 语言文件类型 yaml / json LngFrom string `json:"lngFrom" yaml:"lngFrom"` // 语言文件来源 }
func (Option) GetLangTags ¶
Click to show internal directories.
Click to hide internal directories.