@@ -162,17 +162,17 @@ type Options struct {
162
162
// ProjectFile is deserialized into a PROJECT file
163
163
type ProjectFile struct {
164
164
// Version is the project version - defaults to "1"
165
- Version string `yaml :"version,omitempty"`
165
+ Version string `json :"version,omitempty"`
166
166
167
167
// Domain is the domain associated with the project and used for API groups
168
- Domain string `yaml :"domain,omitempty"`
168
+ Domain string `json :"domain,omitempty"`
169
169
170
170
// Repo is the go package name of the project root
171
- Repo string `yaml :"repo,omitempty"`
171
+ Repo string `json :"repo,omitempty"`
172
172
173
173
// Resources tracks scaffolded resources in the project. This info is
174
174
// tracked only in project with version 2.
175
- Resources []Resource `yaml :"resources,omitempty"`
175
+ Resources []Resource `json :"resources,omitempty"`
176
176
}
177
177
178
178
// ResourceGroups returns unique groups of scaffolded resources in the project.
@@ -191,7 +191,7 @@ func (pf *ProjectFile) ResourceGroups() []string {
191
191
192
192
// Resource contains information about scaffolded resources.
193
193
type Resource struct {
194
- Group string `yaml :"group,omitempty"`
195
- Version string `yaml :"version,omitempty"`
196
- Kind string `yaml :"kind,omitempty"`
194
+ Group string `json :"group,omitempty"`
195
+ Version string `json :"version,omitempty"`
196
+ Kind string `json :"kind,omitempty"`
197
197
}
0 commit comments