html

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeNode  = reflect.TypeOf((*html.Node)(nil))
	TypeNodes = reflect.TypeOf(([]*html.Node)(nil))
)

Functions

func CloneNode

func CloneNode(n *html.Node) *html.Node

CloneNode deep clone the node

func MergeNode

func MergeNode(nodes []*html.Node) *html.Node

MergeNode wrap the nodes with html.ElementNode

func Parse

func Parse(str string) (*html.Node, error)

Parse as html or fragment

Types

This section is empty.

Jump to

Keyboard shortcuts

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