oem: refactor the config
- Seperate the config from File() - Add YAML tags for the fields
This commit is contained in:
9
config/oem.go
Normal file
9
config/oem.go
Normal 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"`
|
||||
}
|
Reference in New Issue
Block a user