mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-01 14:14:52 +08:00
Added github action fix for parsing xml, updated linter
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
yaml "gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
var XmlPreferences = xmlPreferences{AttributePrefix: "+", ContentName: "+content"}
|
||||
var XMLPreferences = xmlPreferences{AttributePrefix: "+", ContentName: "+content"}
|
||||
|
||||
type xmlEncoder struct {
|
||||
attributePrefix string
|
||||
@@ -17,7 +17,7 @@ type xmlEncoder struct {
|
||||
indentString string
|
||||
}
|
||||
|
||||
func NewXmlEncoder(indent int, attributePrefix string, contentName string) Encoder {
|
||||
func NewXMLEncoder(indent int, attributePrefix string, contentName string) Encoder {
|
||||
var indentString = ""
|
||||
|
||||
for index := 0; index < indent; index++ {
|
||||
|
||||
Reference in New Issue
Block a user