setting

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPLICATION_NAME = "Lanty"
	SETTINGS_PATH    = "settings.yaml"
	VERSION          = "v0.1.0-beta"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	ServerURL     string `yaml:"serverurl"`
	GameDirectory string `yaml:"gamedirectory"`
	Username      string `yaml:"username"`
}

func LoadSettings

func LoadSettings() (s *Settings, err error)

func (Settings) Save

func (settings Settings) Save() (err error)

Jump to

Keyboard shortcuts

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