durationparser

package
v0.465.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToSecondsAsString

func ToSecondsAsString(durationString string) (secondsString string, err error)

func ToSecondsAsTimeDuration

func ToSecondsAsTimeDuration(durationString string) (duration *time.Duration, err error)

func ToSecondsFloat64

func ToSecondsFloat64(durationString string) (seconds float64, err error)

func ToSecondsInt64

func ToSecondsInt64(durationString string) (seconds int64, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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