An open API service indexing awesome lists of open source software.

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.

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.

[![GoDoc](http://godoc.org/github.com/inhies/go-bytesize?status.png)](http://godoc.org/github.com/MalteJ/go-bytesize)
[![Build Status](https://travis-ci.org/inhies/go-bytesize.png)](https://travis-ci.org/MalteJ/go-bytesize)
[![Coverage Status](https://coveralls.io/repos/inhies/go-bytesize/badge.svg?branch=master&service=github)](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.