types

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 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

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