From 650149c55cd4485e912e084bfbd97aa865b4152f Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Sun, 25 Jun 2017 17:00:48 -0700 Subject: [PATCH] reorg types --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {