Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnbalancedXml = errors.New("unbalanced xml")
Functions ¶
func TreeEq ¶
func TreeEq(a, b *XmlElement) bool
Types ¶
type XmlElement ¶
type XmlElement struct {
Name string
Children []XmlElement
Text string
}
func BuildTree ¶
func BuildTree(s string) (XmlElement, error)
Click to show internal directories.
Click to hide internal directories.