reorg types

This commit is contained in:
Jaana Burcu Dogan 2017-06-25 17:00:48 -07:00
parent 042926d01a
commit 650149c55c

View File

@ -29,13 +29,11 @@ import (
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
) )
type ypkg struct { var m map[string]struct {
Repo string `yaml:"repo,omitempty"` Repo string `yaml:"repo,omitempty"`
Display string `yaml:"display,omitempty"` Display string `yaml:"display,omitempty"`
} }
var m map[string]ypkg
func init() { func init() {
vanity, err := ioutil.ReadFile("./vanity.yaml") vanity, err := ioutil.ReadFile("./vanity.yaml")
if err != nil { if err != nil {