settings

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigDir

func GetConfigDir() (string, error)

Types

type Settings

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

func LoadSettings

func LoadSettings() (*Settings, error)

func (*Settings) GetAutoupdate

func (s *Settings) GetAutoupdate() bool

func (*Settings) GetEditor

func (s *Settings) GetEditor() string

func (*Settings) GetLastUpdateCheck

func (s *Settings) GetLastUpdateCheck() int64

func (*Settings) GetLibrary

func (s *Settings) GetLibrary() string

func (*Settings) GetMigrationVersion

func (s *Settings) GetMigrationVersion() string

func (*Settings) PersistChanges

func (s *Settings) PersistChanges()

func (*Settings) SetAutoupdate

func (s *Settings) SetAutoupdate(auto_update string)

func (*Settings) SetEditor

func (s *Settings) SetEditor(editor string) error

func (*Settings) SetLastUpdateCheck

func (s *Settings) SetLastUpdateCheck(t int64)

func (*Settings) SetLibrary

func (s *Settings) SetLibrary(path string)

func (*Settings) SetMigrationVersion

func (s *Settings) SetMigrationVersion(v string)

Jump to

Keyboard shortcuts

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