difi/internal/config/config.go

21 lines
294 B
Go

package config
type Config struct {
UI UIConfig
Flat bool
}
type UIConfig struct {
LineNumbers string // "relative", "absolute", "hybrid", "hidden"
Theme string
}
func Load() Config {
return Config{
UI: UIConfig{
LineNumbers: "hybrid",
Theme: "default",
},
}
}