parser

package
v0.0.0-...-478ad6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseActorNames

func ParseActorNames(s string) (names []string)

func ParseBustCupSize

func ParseBustCupSize(s string) (int, string, error)

func ParseDate

func ParseDate(s string) dt.Date

ParseDate parses a string with a valid date format into Date.

func ParseDuration

func ParseDuration(s string) time.Duration

ParseDuration parses a string with valid duration format into time.Duration.

func ParseIDToNumber

func ParseIDToNumber(s string) string

func ParseInt

func ParseInt(s string) int

ParseInt parses string to int regardless.

func ParseRuntime

func ParseRuntime(s string) int

ParseRuntime parses a string into time.Duration and converts it to minutes as integer.

func ParseScore

func ParseScore(s string) float64

ParseScore parses a string into a float-based score.

func ParseTexts

func ParseTexts(n *html.Node, texts *[]string)

ParseTexts parses all plaintext from the given *html.Node.

func ParseTime

func ParseTime(s string) time.Time

ParseTime parses a string with a valid time format into time.Time.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL