Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByCodeOrKey ¶
Types ¶
type Config ¶
type Config struct {
Type string `json:"type" mapstructure:"type"`
XlsxPath string `json:"xlsxPath" mapstructure:"xlsxPath"`
XlsxSheets []string `json:"xlsxSheets" mapstructure:"xlsxSheets"`
JsonlPath string `json:"jsonlPath" mapstructure:"jsonlPath"`
Langs []LangCodeName `json:"langs" mapstructure:"langs"`
DefaultLang string `json:"defaultLang" mapstructure:"defaultLang"`
}
type LangCodeName ¶
type LangCodeName struct {
// https://i18ns.com/languagecode.html
Code string `json:"code" mapstructure:"code"`
Name string `json:"name" mapstructure:"name"`
}
Click to show internal directories.
Click to hide internal directories.