From 1375299e7ab9c99de563e08d47df9cd59081fefb Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sat, 17 Feb 2024 22:03:08 -0800 Subject: [PATCH] gunner --- gun.go => gunner.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename gun.go => gunner.go (98%) diff --git a/gun.go b/gunner.go similarity index 98% rename from gun.go rename to gunner.go index 2a3ca17..d714e0d 100644 --- a/gun.go +++ b/gunner.go @@ -1,4 +1,4 @@ -package gun +package gunner import ( "os" @@ -13,6 +13,7 @@ import ( func LoadApp(i any, appName string) { yamlDecoder := yaml.New() dotenvDecoder := aconfigdotenv.New() + configDir, err := os.UserConfigDir() if err != nil { homeDir, err := os.UserHomeDir()