time

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 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