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

Struct invalidMatcher

type.go:199–199  ·  view source on GitHub ↗

invalidMatcher is a Matcher that always fails to match.

Source from the content-addressed store, hash-verified

197
198// invalidMatcher is a Matcher that always fails to match.
199type invalidMatcher struct{}
200
201func (invalidMatcher) Match(n *html.Node) bool { return false }
202func (invalidMatcher) MatchAll(n *html.Node) []*html.Node { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected