Registry / utility / inhies-go-bytesize

inhies-go-bytesize

JSON →
library0.0.0-20220417184213-4913239db9cfgogounverified

Package bytesize provides functionality for measuring and formatting byte sizes.

go get github.com/inhies/go-bytesize
INSTALL
IMPORT
SIG · INHIES-GO-BYTESIZE
I
inhies-go-bytesize
utilitygov0.0.0-20220417184213-4913239db9cf
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bytesize
github.com/inhies/go-bytesize

Create and format a byte size

package main import ( "fmt" "github.com/inhies/go-bytesize" ) func main() { b := bytesize.MB * 5 fmt.Println(b) // 5 MB }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220417184213-4913239db9cflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
inhies-go-bytesize — go get inhies-go-bytesize · libregistry