Documentation
¶
Index ¶
- func GetConfigDir() (string, error)
- type Settings
- func (s *Settings) GetAutoupdate() bool
- func (s *Settings) GetEditor() string
- func (s *Settings) GetLastUpdateCheck() int64
- func (s *Settings) GetLibrary() string
- func (s *Settings) GetMigrationVersion() string
- func (s *Settings) PersistChanges()
- func (s *Settings) SetAutoupdate(auto_update string)
- func (s *Settings) SetEditor(editor string) error
- func (s *Settings) SetLastUpdateCheck(t int64)
- func (s *Settings) SetLibrary(path string)
- func (s *Settings) SetMigrationVersion(v string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
Types ¶
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
func LoadSettings ¶
func (*Settings) GetAutoupdate ¶
func (*Settings) GetLastUpdateCheck ¶
func (*Settings) GetLibrary ¶
func (*Settings) GetMigrationVersion ¶
func (*Settings) PersistChanges ¶
func (s *Settings) PersistChanges()
func (*Settings) SetAutoupdate ¶
func (*Settings) SetLastUpdateCheck ¶
func (*Settings) SetLibrary ¶
func (*Settings) SetMigrationVersion ¶
Click to show internal directories.
Click to hide internal directories.