text

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HumanizeBytes

func HumanizeBytes(bytes *uint64) string

HumanizeBytes returns a human-readable string for the given bytes. If the given pointer is nil, "N/A" is returned.

func ValueOrNA

func ValueOrNA[T any](v *T) string

ValueOrNA returns the value of the given pointer or "N/A" if the pointer is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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