util

package
v0.0.0-...-5594105 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatByteSize

func FormatByteSize(b int64) string

FormatByteSize formats byte size into a human readable format.

func FormatDuration

func FormatDuration(duration time.Duration, limit int) string

FormatDuration parses duration into a human readable format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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