Documentation ¶
Index ¶
- type Node
- func (n *Node) Attr(keys ...string) string
- func (n *Node) Classes(class string) []*Node
- func (n *Node) Elements(elms ...string) []*Node
- func (n *Node) Elements2(f func(*Node), elms ...string)
- func (n *Node) FakeParent() *Node
- func (n *Node) FirstChild() *Node
- func (n *Node) FirstChildElement() *Node
- func (n *Node) ID(id string) *Node
- func (n *Node) IsElement(names ...string) bool
- func (n *Node) NextElement(name ...string) *Node
- func (n *Node) NextSibling() *Node
- func (n *Node) NextSiblingElement() *Node
- func (n *Node) Parent() *Node
- func (n *Node) ParentElement() *Node
- func (n *Node) PlainText() string
- func (n *Node) Render(w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) FakeParent ¶
func (*Node) FirstChild ¶
func (*Node) FirstChildElement ¶
func (*Node) NextElement ¶
func (*Node) NextSibling ¶
func (*Node) NextSiblingElement ¶
func (*Node) ParentElement ¶
Click to show internal directories.
Click to hide internal directories.