Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Dir = filepath.Join(os.Getenv("LOCALAPPDATA"), "giwh") Path = filepath.Join(Dir, "config.toml") WishHistoryPath = filepath.Join(Dir, "wish_history.json") WishHistoryBackupPath = filepath.Join(Dir, "wish_history_backup.json") WishHistory wish.Items GetAuthInfo = config.GetAuthInfo UpdateAuthInfo = config.UpdateAuthInfo GetLanguage = func() string { return config.Language } SetLanguage = func(lang string) { config.Language = lang } Save = func() error { return config.Save() } )
Functions ¶
func SaveWishHistory ¶
func SaveWishHistory() error
Types ¶
Click to show internal directories.
Click to hide internal directories.