Discover Packages
github.com/danielriddell21/unum
internal
config
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Apr 9, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package config handles loading user configuration from disk.
type Config struct {
Theme string `json:"theme"`
}
Config holds persistent user preferences for unum.
Load reads the config file from the OS config directory.
Returns defaults if the file is absent or malformed.
Location: $XDG_CONFIG_HOME/unum/config.json (Linux/macOS)
%APPDATA%\unum\config.json (Windows)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.