MCPcopy
hub / github.com/PuerkitoBio/goquery / Doc

Function Doc

type_test.go:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19var docW *Document
20
21func Doc() *Document {
22 if doc == nil {
23 doc = loadDoc("page.html")
24 }
25 return doc
26}
27
28func Doc2() *Document {
29 if doc2 == nil {

Callers 15

TestFindFunction · 0.85
TestFindRollbackFunction · 0.85
TestFindNotSelfFunction · 0.85
TestFindInvalidFunction · 0.85
TestChainedFindFunction · 0.85
TestChainedFindInvalidFunction · 0.85
TestChildrenFunction · 0.85
TestChildrenRollbackFunction · 0.85
TestContentsFunction · 0.85
TestContentsRollbackFunction · 0.85
TestChildrenFilteredFunction · 0.85

Calls 1

loadDocFunction · 0.85

Tested by

no test coverage detected