Documentation ¶
Index ¶
- type Selector
- func (s *Selector) FindIntMany(css string) (list []int)
- func (s *Selector) FindIntOne(css string) (i int)
- func (s *Selector) FindIntOneOr(css string, or int) (i int)
- func (s *Selector) FindNodeMany(css string) (selectors []*Selector)
- func (s *Selector) FindNodeOne(css string) (selector *Selector)
- func (s *Selector) FindNodeOneOr(css string) (selector *Selector)
- func (s *Selector) FindStrMany(css string) (list []string)
- func (s *Selector) FindStrOne(css string) (str string)
- func (s *Selector) FindStrOneOr(css string, or string) (str string)
- func (s *Selector) GetNode() (node *goquery.Selection)
- func (s *Selector) OutHtml(self bool) (str string)
- func (s *Selector) Remove(css string) *Selector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
func NewSelectorFromBytes ¶
NewSelectorFromBytes selector from bytes
func NewSelectorFromFile ¶
NewSelectorFromFile selector from file
func NewSelectorFromReader ¶
NewSelectorFromReader selector from reader
func NewSelectorFromStr ¶
NewSelectorFromStr selector from string
func (*Selector) FindIntMany ¶
FindIntMany find int list
func (*Selector) FindIntOneOr ¶
FindIntOneOr find one int, will return a default int if you find nothing
func (*Selector) FindNodeMany ¶
FindNodeMany find nodes
func (*Selector) FindNodeOne ¶
FindNodeOne find node or nil
func (*Selector) FindNodeOneOr ¶
FindNodeOneOr find node
func (*Selector) FindStrMany ¶
FindStrMany find a string list
func (*Selector) FindStrOne ¶
FindStrOne find a string
func (*Selector) FindStrOneOr ¶
FindStrOneOr find a string, will return a default string if you find nothing
Click to show internal directories.
Click to hide internal directories.