Documentation
¶
Index ¶
- type Document
- type Element
- func (e *Element) AppendChild(name string) *Element
- func (e *Element) AppendChildInOrder(name string, order []string) *Element
- func (e *Element) Attr(name string) (string, bool)
- func (e *Element) EnsurePath(path string) *Element
- func (e *Element) Find(path string) *Element
- func (e *Element) FindAll(path string) []*Element
- func (e *Element) Name() string
- func (e *Element) RemoveAll(path string) int
- func (e *Element) SetAttr(name, value string)
- func (e *Element) SetText(value string)
- func (e *Element) Text() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
// contains filtered or unexported fields
}
func (*Document) MarshalIndent ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func (*Element) AppendChild ¶
func (*Element) AppendChildInOrder ¶
func (*Element) EnsurePath ¶
Click to show internal directories.
Click to hide internal directories.