formatutil

package
v0.0.0-...-b75375f Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2014 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Number

func Number(lang i18n.Languager, number interface{}) (string, error)

func Size

func Size(s uint64) string

FormatSize returns the given size in bytes formatted as a human readable string. The precision and unit will vary depending on the size.

func Time

func Time(lang i18n.Languager)

Types

This section is empty.

Jump to

Keyboard shortcuts

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