humanize

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(s uint64) string

produces a human readable representation of an IEC size. (82854982) -> 79 MiB

func BytesSi

func BytesSi(s uint64) string

produces a human readable representation of an SI size. (82854982) -> 83 MB

func Comma

func Comma(v int64) string

func HumValue

func HumValue(s uint64, base float64, sizes []string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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