Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
func (*Configurator) GetConfig ¶
func (c *Configurator) GetConfig() (*InsteadmanConfig, error)
func (*Configurator) SaveConfig ¶
func (c *Configurator) SaveConfig(config *InsteadmanConfig) error
func (*Configurator) ShareResourcePath ¶
func (c *Configurator) ShareResourcePath(relPath string) string
type InsteadmanConfig ¶
type InsteadmanConfig struct { Repositories []Repository `json:"repositories"` InterpreterCommand string `json:"interpreter_command"` Version string `json:"version"` UseBuiltinInterpreter bool `json:"use_builtin_interpreter"` Lang string `json:"lang"` CheckUpdateOnStart bool `json:"check_update_on_start"` GamesPath string `json:"games_path"` InsteadManPath string `json:"insteadman_path"` CalculatedGamesPath string `json:"-"` CalculatedInsteadManPath string `json:"-"` }
func (*InsteadmanConfig) GetInterpreterCommand ¶
func (c *InsteadmanConfig) GetInterpreterCommand() string
type Repository ¶
Click to show internal directories.
Click to hide internal directories.