Documentation ¶
Overview ¶
Packag conv provides functions for converting between different types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ByteSizeUnits = map[string]ByteSize{ "B": B, "KB": KB, "MB": MB, "GB": GB, "TB": TB, "PB": PB, "EB": EB, }
ByteSizeUnits is a map of byte sizes.
Functions ¶
func ByteSizes ¶ added in v0.1.7
ByteSizes converts a value of float64 to a full integer value of a byte based on a unit size.
Types ¶
Click to show internal directories.
Click to hide internal directories.