Add core packages, configuration system, and initial application structure
This commit is contained in:
12
pkg/utils/units/units.go
Normal file
12
pkg/utils/units/units.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Package units is a convenient set of names designating data sizes in bytes
|
||||
// using common ISO names (base 10).
|
||||
package units
|
||||
|
||||
const (
|
||||
Kilobyte = 1000
|
||||
Kb = Kilobyte
|
||||
Megabyte = Kilobyte * Kilobyte
|
||||
Mb = Megabyte
|
||||
Gigabyte = Megabyte * Kilobyte
|
||||
Gb = Gigabyte
|
||||
)
|
||||
Reference in New Issue
Block a user