Documentation ¶
Overview ¶
Package pref provides primitives that interacts with Preference files.
Index ¶
Constants ¶
View Source
const PREFERENCES_FILE_NAME = lominus.PREFERENCES_FILE_NAME
Variables ¶
View Source
var Preferences = appPref.Preferences{}
Functions ¶
func LoadPreferences ¶
func LoadPreferences(filePath string) (appPref.Preferences, error)
LoadPreferences loads the user's preferences data from local storage.
func SavePreferences ¶
func SavePreferences(filePath string, preferences appPref.Preferences) error
SavePreferences saves the user's preferences data onto local storage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.