types

package
v1.16.12-beta058 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultDurationFormat = "15:04:05"
View Source
const InvalidDurationString = "invalid"

Variables

This section is empty.

Functions

func FormatDuration

func FormatDuration(in string) string

func FormatDurationMs added in v1.5.2

func FormatDurationMs(in string) int32

Types

type FormattedDuration

type FormattedDuration time.Duration

func (FormattedDuration) Format

func (t FormattedDuration) Format(formats ...string) string

Jump to

Keyboard shortcuts

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