html

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeVal

func GetNodeVal(key string, n *html.Node) (bool, string)

获取一个元素节点的属性值

func SetNodeVal

func SetNodeVal(key, val string, n *html.Node) bool

设置一个元素节点的属性值

func VisitFn

func VisitFn(n *html.Node, execute func(b *html.Node))

遍历每一个node,并执行回调

Types

This section is empty.

Jump to

Keyboard shortcuts

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