timedisplay

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package timedisplay owns human-readable CLI timestamp and duration formatting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(value time.Duration) string

Duration renders elapsed time compactly for operator-facing CLI output.

func ElapsedSince

func ElapsedSince(start, now time.Time) string

ElapsedSince renders elapsed time from start to now, with a deliberate placeholder for missing time inputs.

func Timestamp

func Timestamp(value time.Time) string

Timestamp renders an absolute timestamp with an explicit UTC timezone.

Types

This section is empty.

Jump to

Keyboard shortcuts

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