utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FmtDuration

func FmtDuration(d time.Duration) string

func Pluralize

func Pluralize(num int, thing string) string

func PrettyTimeAgo

func PrettyTimeAgo(ago time.Duration) string

func TimeToPrettyTimeAgo

func TimeToPrettyTimeAgo(d time.Time) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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