prefs

package
v0.0.0-...-fa69912 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDefaultSettings = errors.New("Default settings selected")

Functions

This section is empty.

Types

type Settings

type Settings struct {
	RimworldVersion string `toml:"rimworld_version"`
	Paths           struct {
		SteamWorkshop     string `toml:"steam_workshop"`
		Rimworld          string `toml:"rimworld"`
		RimworldSettings  string `toml:"rimworld_settings"`
		ConstraintCatalog string `toml:"constraint_catalog"`
	} `toml:"paths"`
}

func NewSettings

func NewSettings() (*Settings, error)

func (*Settings) Check

func (s *Settings) Check() *Settings

func (*Settings) Save

func (s *Settings) Save() (err error)

Jump to

Keyboard shortcuts

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