Documentation ¶
Index ¶
- Variables
- func Config(section, key string, def interface{}) (interface{}, error)
- func Init(a *App, r renderer) error
- func InternalFS_Add(file string, data []byte)
- func InternalFS_Get(file string) ([]byte, error)
- func InternalFS_Has(file string) bool
- func LoadConfig(path string) error
- func PrintConfig()
- func Run() error
- func SaveConfig(path string) error
- type App
- type WinMode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ERRBADSECTION = errors.New("No section: ") ERRBADKEY = errors.New("No Key: ") )
View Source
var (
BIGOOPS = errors.New("Well that's not supposed to happen")
)
View Source
var (
Renderer renderer
)
Functions ¶
func InternalFS_Add ¶
InternalFS_Add will add a file to the Internal Filesystem Usually, this is only used for items compiled into the binary
func InternalFS_Has ¶
InternalFS_Has checks if a file exists in the Internal Filesystem
func LoadConfig ¶
func PrintConfig ¶
func PrintConfig()
func SaveConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.