Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Languages = struct { Auto Language En Language Ja Language }{ "auto", "en", "ja", }
View Source
var Themes = struct { Auto Theme Dark Theme Light Theme }{ "auto", "dark", "light", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Language Language `json:"language"` // Possible Values: `Auto`, `En`, `Ja` Region string `json:"region"` // Region Scope string `json:"-" scope:"scope"` // The scope of this setting (user, userdefaults) Theme Theme `json:"theme"` // Possible Values: `Auto`, `Dark`, `Light` Timezone string `json:"timezone"` // Timezone }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.