preferences

package
v0.0.0-...-290d03d Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultPreference

func NewDefaultPreference(name string, opgg string) model.Preference

Types

type Preferences

type Preferences struct {
	// contains filtered or unexported fields
}

func NewPreferences

func NewPreferences() *Preferences

func (*Preferences) Champion

func (preferences *Preferences) Champion() model.Champions

func (*Preferences) Create

func (preferences *Preferences) Create()

func (*Preferences) Path

func (preferences *Preferences) Path() string

func (*Preferences) Preference

func (preferences *Preferences) Preference(id string) model.Preference

func (*Preferences) Preferences

func (preferences *Preferences) Preferences() map[string]model.Preference

func (*Preferences) SetFilesystem

func (preferences *Preferences) SetFilesystem(filesystem *filesystem.Filesystem)

func (*Preferences) Update

func (preferences *Preferences) Update()

Jump to

Keyboard shortcuts

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