diff --git a/go.mod b/go.mod index f4c4a0f..595f720 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/taigrr/mg -go 1.19 +go 1.20 diff --git a/parse/myrepos.go b/parse/myrepos.go index 959be0d..0dbda59 100644 --- a/parse/myrepos.go +++ b/parse/myrepos.go @@ -46,7 +46,10 @@ func LoadMRConfig() (MRConfig, error) { } text := string(f) lines := strings.Split(text, "\n") - config := MRConfig{} + config := MRConfig{ + Aliases: make(map[string]string), + Repos: []Repo{}, + } length := -1 mode := "default"