pref

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL