units

package
v0.0.0-...-da31dff Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 0 Imported by: 18

Documentation

Index

Constants

View Source
const (
	// GB - GigaByte size (10^9)
	GB = 1000 * 1000 * 1000
	// GiB - GibiByte size (2^30)
	GiB = 1024 * 1024 * 1024
	// MB - MegaByte size (10^6)
	MB = 1000 * 1000
	// MiB - MebiByte size (2^20)
	MiB = 1024 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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