dom

package
v0.0.0-...-ca32f83 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CbAllByClass

func CbAllByClass(tagName string, entryNode *html.Node, Cb func(*html.Node))

func CbAllByCond

func CbAllByCond(entryNode *html.Node, cond func(*html.Node) bool, Cb func(*html.Node))

func CbAllByTag

func CbAllByTag(tagName string, entryNode *html.Node, Cb func(*html.Node))

func CbByCond

func CbByCond(entryNode *html.Node, cond func(*html.Node) bool, Cb func(*html.Node))

func CbChildren

func CbChildren(entryNode *html.Node, Cb func(*html.Node))

func CbDrill

func CbDrill(entryNode *html.Node, Cb func(*html.Node))

func CbInnerText

func CbInnerText(entryNode *html.Node, Cb func(string))

func ExtractAttr

func ExtractAttr(node *html.Node, attr string) *string

func ExtractClassList

func ExtractClassList(node *html.Node) *[]string

func GetAllByClass

func GetAllByClass(tagName string, entryNode *html.Node) []*html.Node

func GetAllByCond

func GetAllByCond(entryNode *html.Node, cond func(*html.Node) bool) []*html.Node

func GetAllByTag

func GetAllByTag(tagName string, entryNode *html.Node) []*html.Node

func GetByClass

func GetByClass(tagName string, entryNode *html.Node) *html.Node

func GetByCond

func GetByCond(entryNode *html.Node, cond func(*html.Node) bool) *html.Node

func GetByTag

func GetByTag(tagName string, entryNode *html.Node) *html.Node

func GetChildren

func GetChildren(entryNode *html.Node) []*html.Node

func InnerText

func InnerText(entryNode *html.Node) string

func Ntos

func Ntos(n *html.Node) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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