htmlutil

package
v0.0.0-...-334e571 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAllNodes

func FindAllNodes(node *html.Node, matcher Matcher) []*html.Node

func FindFirstNode

func FindFirstNode(node *html.Node, matcher Matcher) *html.Node

func FindLastNode

func FindLastNode(node *html.Node, matcher Matcher) *html.Node

func GetText

func GetText(node *html.Node) string

Types

type Matcher

type Matcher func(*html.Node) bool

func MatcherTagName

func MatcherTagName(tagName string) Matcher

func MatcherTagNameAndClass

func MatcherTagNameAndClass(tagName string, class string) Matcher

Jump to

Keyboard shortcuts

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