good morning!!!!

Skip to content
Snippets Groups Projects
Commit 098d8ee4 authored by a's avatar a
Browse files

a

parent d152af67
Branches
Tags v0.0.2
No related merge requests found
......@@ -3,10 +3,10 @@ package gun
import (
"fmt"
"os"
"path"
"reflect"
"strconv"
"strings"
"path"
"gopkg.in/yaml.v3"
)
......@@ -24,8 +24,7 @@ func Load(i any) {
}
func mustLoad(i any) []error {
usr, _ := user.Current()
dir := usr.HomeDir
dir, _ := os.UserHomeDir()
errs := []error{}
files := make([]string, 0, 4)
if gcf := os.Getenv("GUN_CONFIG_FILE"); gcf != "" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment