https://github.com/maltegrosse/go-bytesize
Package bytesize provides functionality for measuring and displaying byte sizes.
https://github.com/maltegrosse/go-bytesize
Last synced: 5 months ago
JSON representation
Package bytesize provides functionality for measuring and displaying byte sizes.
- Host: GitHub
- URL: https://github.com/maltegrosse/go-bytesize
- Owner: maltegrosse
- License: bsd-3-clause
- Fork: true (inhies/go-bytesize)
- Created: 2020-04-23T15:48:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2015-10-01T22:03:24.000Z (over 10 years ago)
- Last Synced: 2024-09-24T09:17:00.585Z (over 1 year ago)
- Size: 242 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ByteSize
========
Bytesize is a package for working with measurements of bytes. Using this package
allows you to easily add 100KB to 4928MB and get a nicely formatted string
representation of the result.
[](http://godoc.org/github.com/MalteJ/go-bytesize)
[](https://travis-ci.org/MalteJ/go-bytesize)
[](https://coveralls.io/github/MalteJ/go-bytesize?branch=master)
Usage
-----
Check the built in documentation for examples using the godoc link above or by
running godoc locally.