humanize

package
v0.0.13-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package humanize provides functions to format numbers with units.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes[T num64](b T) string

Bytes formats a number of bytes with a unit.

func Number

func Number[T num64](b T) string

Number formats a number with a unit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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