xml

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	XMLName    xml.Name
	Attributes []xml.Attr
	Data       string
	Nodes      []*Node
}

func Parse

func Parse(str string) (*Node, error)

func (*Node) UnmarshalXML

func (e *Node) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type OtherDifference

type OtherDifference struct {
	// contains filtered or unexported fields
}

func (OtherDifference) GetOutput

func (sd OtherDifference) GetOutput() []string

type StringDifferences

type StringDifferences struct {
	// contains filtered or unexported fields
}

func (StringDifferences) GetOutput

func (sd StringDifferences) GetOutput() []string

type XMLDifference

type XMLDifference interface {
	GetOutput() []string
}

func Compare

func Compare(xml1 *Node, xml2 *Node) []XMLDifference

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL