mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 18:24:57 +08:00
fix tests
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
package yqlib
|
||||
|
||||
type INIPreferences struct {
|
||||
Indent int
|
||||
ColorsEnabled bool
|
||||
}
|
||||
|
||||
func NewDefaultINIPreferences() INIPreferences {
|
||||
return INIPreferences{
|
||||
Indent: 2,
|
||||
ColorsEnabled: false,
|
||||
}
|
||||
}
|
||||
|
||||
func (p *INIPreferences) Copy() INIPreferences {
|
||||
return INIPreferences{
|
||||
Indent: p.Indent,
|
||||
ColorsEnabled: p.ColorsEnabled,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user