format

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(bytes uint64) string

Bytes formats a byte count

func Percent

func Percent(current uint64, total uint64) string

Percent formats a percent

func Progress

func Progress(current uint64, total uint64) string

Progress formats a progress line

func RawBytes

func RawBytes(bytes uint64) string

RawBytes formats a byte count without the units

Types

This section is empty.

Jump to

Keyboard shortcuts

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