Help us shape the future of Go! Take the 2026 Go Developer Survey

timeutil

package
v0.22.9 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgeAgo

func AgeAgo(t time.Time) string

AgeAgo formats creation/status transition time (in the style of "2d 3h", "5m", etc.)

func AgeAgoStr

func AgeAgoStr(ts string) string

AgeAgoStr parses a RFC3339 time string and formats it as AgeAgo

Types

This section is empty.

Jump to

Keyboard shortcuts

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