Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HumanDuration

func HumanDuration(d time.Duration) string

    HumanDuration returns a succint representation of the provided duration with limited precision for consumption by humans. It provides ~2-3 significant figures of duration.

    func ShortHumanDuration

    func ShortHumanDuration(d time.Duration) string

      ShortHumanDuration returns a succint representation of the provided duration with limited precision for consumption by humans.

      Types

      This section is empty.

      Source Files