module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Mar 23, 2023
License: MIT
Opens a new window with license information.
README
¶

Introduction
units is a library to transform human friendly information size into machine friendly values.
Usage
See the docs in godoc for examples and documentation.
Installation
go get github.com/Diez37/units
benchmark
go test -bench=. -benchtime=10s -benchmem ./...
goos: linux
goarch: amd64
pkg: github.com/Diez37/units/size
cpu: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
BenchmarkParseSize-12 885320 16118 ns/op 4105 B/op 63 allocs/op
PASS
ok github.com/Diez37/units/size 14.410s
Directories
¶
Click to show internal directories.
Click to hide internal directories.