https://github.com/docker/go-units
Parse and print size and time units in human-readable format
https://github.com/docker/go-units
Last synced: 8 months ago
JSON representation
Parse and print size and time units in human-readable format
- Host: GitHub
- URL: https://github.com/docker/go-units
- Owner: docker
- License: apache-2.0
- Created: 2015-12-15T00:47:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T15:22:48.000Z (almost 2 years ago)
- Last Synced: 2025-05-03T07:52:50.876Z (8 months ago)
- Language: Go
- Homepage: https://godoc.org/github.com/docker/go-units
- Size: 68.4 KB
- Stars: 229
- Watchers: 17
- Forks: 39
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://godoc.org/github.com/docker/go-units)
# Introduction
go-units is a library to transform human friendly measurements into machine friendly values.
## Usage
See the [docs in godoc](https://godoc.org/github.com/docker/go-units) for examples and documentation.
## Copyright and license
Copyright © 2015 Docker, Inc.
go-units is licensed under the Apache License, Version 2.0.
See [LICENSE](LICENSE) for the full text of the license.