Documentation
¶
Index ¶
- Variables
- func DisableIndent(e *xml.Encoder)
- func EnableIndent(e *xml.Encoder)
- func Marshal(t interface{}) ([]byte, error)
- func MarshalXml(o any, e *xml.Encoder, start xml.StartElement) error
- func SelfClosing(b []byte) []byte
- func TrimSuffixToEnd(s, suffix string) string
- func WriteToFile(t interface{}, fileName string) error
- type OpenMetadataFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ConvertNumericXMLEntities = true
View Source
var FormulaEscaper = strings.NewReplacer(
`&`, "&",
`'`, "'",
`<`, "<",
`>`, ">",
`"`, """,
)
View Source
var MarshalWide = false
View Source
var TypeRegistry metadataTypeRegistry
Functions ¶
func DisableIndent ¶
func EnableIndent ¶
func MarshalXml ¶
func TrimSuffixToEnd ¶
Trim suffix plus anything that follows it.
func WriteToFile ¶
Types ¶
type OpenMetadataFunc ¶
type OpenMetadataFunc func(path string) (metadata.RegisterableMetadata, error)
Click to show internal directories.
Click to hide internal directories.