Versions in this module Expand all Collapse all v1 v1.0.0 Jan 19, 2022 Changes in this version + func NewNotExpectValueError(got interface{}) error + type Document struct + Selection *goquery.Selection + func Dom(b []byte) (dom *Document, err error) + func NewDocumentFromBytes(b []byte) (dom *Document, err error) + func (dom *Document) Attr(attrName string) (string, error) + func (dom *Document) Each(fn DomEachFunc) error + func (dom *Document) EachWithBreak(fn DomEachFunc) error + func (dom *Document) Eq(index int) *Document + func (dom *Document) Find(selector string) *Document + func (dom *Document) InnerHTML() (innerHTML string, err error) + func (dom *Document) InnerHTMLWithoutError() string + func (dom *Document) InnerText() string + func (dom *Document) Length() int + func (dom *Document) MustFind(selector string) (*Document, error) + func (dom *Document) OuterHtml() (outerHtml string, err error) + func (dom *Document) Text() string + func (dom *Document) TrimSpaceInnerText() string + func (dom *Document) TrimSpaceText() string + type DocumentError struct + type DomEachFunc func(i int, dom *Document) error + type JsonUnmarshalError struct + type NotExpectValueError struct + type Parser struct + Dom *Document + Json *_json + Regexp *_regexp + func Parse(b []byte, mode ParserMode) (*Parser, error) + func (receiver *Parser) DebugStoreTestDir() + type ParserMode uint8 + const ModeEnableDom + const ModeEnableJson + const ModeEnableRegexp + type RegexpNotMatchError struct + type RegexpWrapper struct + func Regexp(regexp *regexp.Regexp) *RegexpWrapper + func (receiver *RegexpWrapper) FindAllStringSubMatch(s string, n int) ([][]string, error) + func (receiver *RegexpWrapper) FindStringSubMatch(s string) ([]string, error) + func (receiver *RegexpWrapper) FindSubMatch(b []byte) ([][]byte, error)