Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-08-27 00:05:08 +02:00
commit 624a723b16
29 changed files with 1989 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package config
import (
_ "embed"
)
//go:embed default_config.yaml
var defaultConfig []byte
type Config struct {
Version string `mapstructure:"-"`
App struct {
Mode string `mapstructure:"mode"`
ApiURL string `mapstructure:"api_url"`
FocusSearchOnLaunch bool `mapstructure:"focus_search_on_launch"`
PrintOnEnter bool `mapstructure:"print_on_enter"`
} `mapstructure:"app"`
Keybindings Keybindings `mapstructure:"keybindings"`
}
var Global *Config