pkg/units
Francisco Carriedo d56f2248e4 pkg/units: Refactor regexp.Compile to init()
No need to recompile a fixed regular expression each time the function
executes. Abstracting it to the `init()` method.

Docker-DCO-1.1-Signed-off-by: Francisco Carriedo <fcarriedo@gmail.com> (github: fcarriedo)
2014-07-23 23:45:03 -07:00
..
duration.go Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
duration_test.go pkg/units: Increased test coverage. Closes #7159. 2014-07-22 09:56:58 -07:00
MAINTAINERS Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
size.go pkg/units: Refactor regexp.Compile to init() 2014-07-23 23:45:03 -07:00
size_test.go pkg/units: Standardized supported sizes 2014-07-23 23:37:06 -07:00