type github.com/andybalholm/cascadia.Selector
9 uses
github.com/andybalholm/cascadia (current package)
selector.go#L60: type Selector func(*html.Node) bool
selector.go#L64: func Compile(sel string) (Selector, error) {
selector.go#L70: return Selector(compiled.Match), nil
selector.go#L74: func MustCompile(sel string) Selector {
selector.go#L84: func (s Selector) MatchAll(n *html.Node) []*html.Node {
selector.go#L88: func (s Selector) matchAllInto(n *html.Node, storage []*html.Node) []*html.Node {
selector.go#L118: func (s Selector) Match(n *html.Node) bool {
selector.go#L123: func (s Selector) MatchFirst(n *html.Node) *html.Node {
selector.go#L153: func (s Selector) Filter(nodes []*html.Node) (result []*html.Node) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |