pretty

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package pretty formats types nicely

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(d time.Duration) string

Duration formats the duration as a string up to 2 decimal places

func Padded added in v0.12.1

func Padded(num int, p int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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