MCPcopy Create free account
hub / github.com/antchfx/htmlquery / loadHTML

Function loadHTML

query_test.go:248–254  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

246}
247
248func loadHTML(str string) *html.Node {
249 node, err := Parse(strings.NewReader(str))
250 if err != nil {
251 panic(err)
252 }
253 return node
254}

Callers 3

query_test.goFile · 0.85
TestXPathCdUpFunction · 0.85
TestConcurrentQueryFunction · 0.85

Calls 1

ParseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…