time

package
v1.39.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Humanize

func Humanize(start time.Duration) string

Humanize returns time in human readable format

func LessThan

func LessThan(date string, duration time.Duration) bool

LessThan returns true if the time since the given date is less than the given duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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