gunner
This commit is contained in:
parent
d411deaa02
commit
1375299e7a
@ -1,4 +1,4 @@
|
|||||||
package gun
|
package gunner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
@ -13,6 +13,7 @@ import (
|
|||||||
func LoadApp(i any, appName string) {
|
func LoadApp(i any, appName string) {
|
||||||
yamlDecoder := yaml.New()
|
yamlDecoder := yaml.New()
|
||||||
dotenvDecoder := aconfigdotenv.New()
|
dotenvDecoder := aconfigdotenv.New()
|
||||||
|
|
||||||
configDir, err := os.UserConfigDir()
|
configDir, err := os.UserConfigDir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
homeDir, err := os.UserHomeDir()
|
homeDir, err := os.UserHomeDir()
|
Loading…
Reference in New Issue
Block a user