mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
18 lines
403 B
Go
18 lines
403 B
Go
|
package yqlib
|
||
|
|
||
|
type YamlPreferences struct {
|
||
|
LeadingContentPreProcessing bool
|
||
|
PrintDocSeparators bool
|
||
|
UnwrapScalar bool
|
||
|
}
|
||
|
|
||
|
func NewDefaultYamlPreferences() YamlPreferences {
|
||
|
return YamlPreferences{
|
||
|
LeadingContentPreProcessing: true,
|
||
|
PrintDocSeparators: true,
|
||
|
UnwrapScalar: true,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
var ConfiguredYamlPreferences = NewDefaultYamlPreferences()
|