dom

package
v0.0.0-...-9934139 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InnerText

func InnerText(n html.Node) string

Types

type DomElement

type DomElement html.Node

func (*DomElement) QuerySelector

func (e *DomElement) QuerySelector(s string) []DomElement

QuerySelector receives a selector s that will be retrived from the DOM element, if found. Returns a slice of DomElement or an empty slice

Jump to

Keyboard shortcuts

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