format

package
v0.3.43 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package format implements various formatters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RelativeTime

func RelativeTime(t time.Time) string

func Time

func Time(t time.Time) string

Time is shorthand for t.Format(time.RFC3339).

Types

This section is empty.

Jump to

Keyboard shortcuts

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