Documentation ¶
Index ¶
- func ParseActorNames(s string) (names []string)
- func ParseDate(s string) dt.Date
- func ParseDuration(s string) time.Duration
- func ParseIDToNumber(s string) string
- func ParseInt(s string) int
- func ParseProviderID(s string) string
- func ParseRuntime(s string) int
- func ParseScore(s string) float64
- func ParseTexts(n *html.Node, texts *[]string)
- func ParseTime(s string) time.Time
- func ReplaceSpaceAll(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseActorNames ¶
func ParseDuration ¶
ParseDuration parses a string with valid duration format into time.Duration.
func ParseIDToNumber ¶ added in v1.2.3
func ParseProviderID ¶ added in v1.2.7
func ParseRuntime ¶
ParseRuntime parses a string into time.Duration and converts it to minutes as integer.
func ParseScore ¶
ParseScore parses a string into float-based score.
func ParseTexts ¶
ParseTexts parses all plaintext from the given *html.Node.
func ReplaceSpaceAll ¶
ReplaceSpaceAll removes all spaces in string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.