github.com/docker/go-units

Parse and print size and time units in human-readable format


License
Apache-2.0
Install
go get github.com/docker/go-units

Documentation

GoDoc

Introduction

go-units is a library to transform human friendly measurements into machine friendly values.

Usage

See the docs in godoc for examples and documentation.

Copyright and license

Copyright © 2015 Docker, Inc.

go-units is licensed under the Apache License, Version 2.0. See LICENSE for the full text of the license.