docker / go-units

Parse and print size and time units in human-readable format
https://godoc.org/github.com/docker/go-units
Apache License 2.0
218 stars 38 forks source link

RAMInBytes not parsing strings returned by BytesSize #26

Closed FlorinAsavoaie closed 6 years ago

FlorinAsavoaie commented 6 years ago

Example:

units.RAMInBytes("32GiB")

This returns an error...

FlorinAsavoaie commented 6 years ago

Opened PR #27 to fix this.