Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SupportedLanguage = []Language{"English", "中文"}
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Endpoint string `json:"endpoint" yaml:"endpoint"` Language Language `json:"language" yaml:"language"` }
Config defines the config schema
type Language ¶
type Language string
Multi-language support
var ( English Language = SupportedLanguage[0] Chinese Language = SupportedLanguage[1] )
Click to show internal directories.
Click to hide internal directories.