format

package
v0.0.0-...-8e53d61 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HumanDuration

func HumanDuration(d time.Duration) string

HumanDuration returns a human-readable approximation of d.

func Parse

func Parse[T any](s string) (t T, err error)

Parse returns the value of the string representation of u.

func Ptr

func Ptr[T any](v T) *T

Ptr returns the pointer of v.

func String

func String(i any) string

String returns the string representation of u.

Types

This section is empty.

Jump to

Keyboard shortcuts

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