output

package
v0.69.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatLineRangeString

func FormatLineRangeString(lines []int) string

func HumanizeBytes added in v0.13.0

func HumanizeBytes(b int) string

func HumanizeDuration added in v0.13.0

func HumanizeDuration(d time.Duration) string

func MaybeColor added in v0.69.0

func MaybeColor(color Color, disabled bool, s string) string

Types

type Color added in v0.69.0

type Color int
const (
	Dim     Color = 2
	Black   Color = 90
	Red     Color = 91
	Yellow  Color = 93
	Blue    Color = 94
	Magenta Color = 95
	Cyan    Color = 96
	White   Color = 97
)

Jump to

Keyboard shortcuts

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