Documentation ¶
Overview ¶
Package appPref provides path retrievers for Lominus preferences files.
Index ¶
Constants ¶
View Source
const PREFERENCES_FILE_NAME = lominus.PREFERENCES_FILE_NAME
Variables ¶
This section is empty.
Functions ¶
func GetPreferencesPath ¶
GetJwtPath returns the file path to user's preferences.
func SavePreferences ¶ added in v1.2.0
func SavePreferences(filePath string, preferences Preferences) error
SavePreferences saves the user's preferences data onto local storage.
Types ¶
type Preferences ¶
Preferences struct describes the data being stored in the user's preferences file.
func LoadPreferences ¶ added in v1.2.0
func LoadPreferences(filePath string) (Preferences, error)
LoadPreferences loads the user's preferences data from local storage.
Click to show internal directories.
Click to hide internal directories.