diff --git a/main.go b/main.go index 017f3f5..170f6e7 100644 --- a/main.go +++ b/main.go @@ -29,13 +29,11 @@ import ( "gopkg.in/yaml.v2" ) -type ypkg struct { +var m map[string]struct { Repo string `yaml:"repo,omitempty"` Display string `yaml:"display,omitempty"` } -var m map[string]ypkg - func init() { vanity, err := ioutil.ReadFile("./vanity.yaml") if err != nil {