mirror of
https://github.com/mikefarah/yq.git
synced 2026-08-24 08:22:13 +08:00
xml prefs should be part of API
This commit is contained in:
@@ -12,10 +12,10 @@ import (
|
||||
type xmlEncoder struct {
|
||||
indentString string
|
||||
writer io.Writer
|
||||
prefs xmlPreferences
|
||||
prefs XmlPreferences
|
||||
}
|
||||
|
||||
func NewXMLEncoder(indent int, prefs xmlPreferences) Encoder {
|
||||
func NewXMLEncoder(indent int, prefs XmlPreferences) Encoder {
|
||||
var indentString = ""
|
||||
|
||||
for index := 0; index < indent; index++ {
|
||||
|
||||
Reference in New Issue
Block a user