Documentation
¶
Index ¶
Constants ¶
View Source
const VERSION = "v1.3.1"
Variables ¶
View Source
var Conf, _ = GetConfig()
Functions ¶
func CreateConfigIfNotExists ¶ added in v1.3.0
func CreateConfigIfNotExists() [2]error
func GetConfigPath ¶
func GetConfigPathGame ¶
func GetConfigPathMain ¶ added in v1.2.0
func SaveConfig ¶ added in v1.2.0
Types ¶
type Config ¶ added in v1.2.0
type Config struct { Paths struct{ Main, Games string } // The paths to the config files Main main Games map[string]string // The paths to the games }
var DefaultConfig *Config
func GetConfigDefault ¶ added in v1.2.0
func GetConfigDefault() *Config
The default config settings.
Version as given in config/config.go FileReadBuffer = 512
Click to show internal directories.
Click to hide internal directories.