parser

package
v0.0.0-...-872e7bf Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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