Documentation
¶
Index ¶
- Constants
- func CheckTarget(valueof reflect.Value) error
- func NewDecode(r io.Reader, v any) error
- func QueryParse(doc *goquery.Selection, target reflect.Value, extractor ContentExtractor) error
- func TextExtractor(selection *goquery.Selection) (string, error)
- func Unmarshal(content []byte, v any) error
- type ContentExtractor
- type TagExtractor
Constants ¶
View Source
const TagName = "html" // Gohtml tag for retriever from struct
Variables ¶
This section is empty.
Functions ¶
func CheckTarget ¶
func QueryParse ¶
Parse *github.com/PuerkitoBio/goquery.Selection to reflect.Value
func TextExtractor ¶
Return trimed text from selection
Types ¶
type ContentExtractor ¶
different types of content extractor
type TagExtractor ¶
type TagExtractor string // Process selection from attribute
Click to show internal directories.
Click to hide internal directories.