From 7dc19d115c5f3b012f96284adc8cadb9b703d6db Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 18 May 2024 20:23:27 +0200 Subject: remove lint errors --- internal/config/config.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'internal/config/config.go') diff --git a/internal/config/config.go b/internal/config/config.go index 578390e..47422e7 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -4,7 +4,6 @@ import ( "io/fs" "log/slog" "net/url" - "os" "github.com/BurntSushi/toml" "github.com/pkg/errors" @@ -46,14 +45,6 @@ type Config struct { Menus map[string][]MenuItem } -func getEnvFallback(key, fallback string) string { - if value, ok := os.LookupEnv(key); ok { - return value - } else { - return fallback - } -} - func GetConfig() (*Config, error) { config := Config{} slog.Debug("reading config.toml") -- cgit 1.4.1