-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(bundle/*): replace mapstructure tags with yaml tags
- Loading branch information
Showing
5 changed files
with
91 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package bundle | ||
|
||
type OutputsDefinition struct { | ||
Fields map[string]OutputDefinition `json:"fields" mapstructure:"fields"` | ||
Fields map[string]OutputDefinition `json:"fields" yaml:"fields"` | ||
} | ||
|
||
type OutputDefinition struct { | ||
Definition string `json:"definition" mapstructure:"definition"` | ||
ApplyTo []string `json:"applyTo,omitempty" mapstructure:"applyTo,omitempty"` | ||
Description string `json:"description,omitempty" mapstructure:"description"` | ||
Path string `json:"path" mapstructure:"path"` | ||
Definition string `json:"definition" yaml:"definition"` | ||
ApplyTo []string `json:"applyTo,omitempty" yaml:"applyTo,omitempty"` | ||
Description string `json:"description,omitempty" yaml:"description,omitempty"` | ||
Path string `json:"path" yaml:"path"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters