Documentation
¶
Overview ¶
Package config provides persistent application configuration for PuzzleTea. Settings are stored as JSON in ~/.puzzletea/config.json alongside the game history database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Theme string `json:"theme,omitempty"` // theme name; empty = default
}
Config holds all user-configurable settings.
func Default ¶
func Default() *Config
Default returns a Config with all settings at their zero values (the built-in defaults).
Click to show internal directories.
Click to hide internal directories.