oem: refactor the config

- Seperate the config from File()
- Add YAML tags for the fields
This commit is contained in:
Alex Crawford
2014-09-21 12:14:00 -07:00
parent 9454522033
commit 6730cb7227
6 changed files with 90 additions and 106 deletions

9
config/oem.go Normal file
View File

@@ -0,0 +1,9 @@
package config
type OEM struct {
ID string `yaml:"id"`
Name string `yaml:"name"`
VersionID string `yaml:"version-id"`
HomeURL string `yaml:"home-url"`
BugReportURL string `yaml:"bug-report-url"`
}