Documentation ¶
Index ¶
- Variables
- func Chars(s string, end int) string
- func InnerText(html, expr string) (text string, err error)
- func InnerTextOrEmpty(parent *html.Node, expr string) string
- func InnerTexts(html, expr string) (texts []string, err error)
- func JoinStrings(texts []string) string
- func NormalizeSpace(s string) string
- func ParseNumberFloat64(s string) (number float64, result bool)
- func ParseNumberInt64(s string) (number int64, result bool)
- func ReadFile(file string) (text string)
- func SelectAttrs(html, expr, attr string) (texts []string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmpty = errors.New("empty")
Functions ¶
func InnerTextOrEmpty ¶ added in v1.15.0
func InnerTexts ¶ added in v1.14.0
func JoinStrings ¶ added in v1.15.0
func NormalizeSpace ¶ added in v1.6.0
func ParseNumberFloat64 ¶ added in v1.1.1
func ParseNumberInt64 ¶ added in v1.1.1
func SelectAttrs ¶ added in v1.11.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.