aboutsummaryrefslogtreecommitdiff
path: root/lib/net/html/example_node_iterator_test.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-04-05 15:13:15 +0700
committerShulhan <m.shulhan@gmail.com>2020-04-05 15:13:15 +0700
commitfe987df87daa808c369b4e2f1c1fa4071e1e80e6 (patch)
tree9d17b735fa007b1a83f119703e856e444fc77142 /lib/net/html/example_node_iterator_test.go
parentbfd340aa12f885202b600a3f33a5c52530a7a89b (diff)
downloadpakakeh.go-fe987df87daa808c369b4e2f1c1fa4071e1e80e6.tar.xz
net/html: new package to simplify the golang.org/x/net/html
The x/net/html package currently only provide bare raw functionalities to iterate tree, there is no check for empty node, and no function to get attribute by name without looping it manually. This package extends the package by adding methods to get node's attribute by name, get the first non-empty child, and get the next non-empty sibling.
Diffstat (limited to 'lib/net/html/example_node_iterator_test.go')
0 files changed, 0 insertions, 0 deletions