Help us shape the future of Go! Take the 2026 Go Developer Survey

node

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(attributes ...string) *Builder

func (*Builder) Attributes

func (b *Builder) Attributes() []string

func (*Builder) Build

func (b *Builder) Build(holderHTML, targetHTML string) (*Node, error)

type Node

type Node struct {
	*html.Node

	Parent, PrevSibling, NextSibling *Node
	// contains filtered or unexported fields
}

func (*Node) IsBaseNode

func (n *Node) IsBaseNode() bool

func (*Node) Selectors

func (n *Node) Selectors(attributes []string, exclude ...string) []string

Jump to

Keyboard shortcuts

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