# size **Repository Path**: mirrors_getsentry/size ## Basic Information - **Project Name**: size - **Description**: A package for working with byte capacities similar to time.Duration - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-16 - **Last Updated**: 2026-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README size ==== .. image:: https://travis-ci.org/mattrobenolt/size.svg?branch=master :target: https://travis-ci.org/mattrobenolt/size .. image:: https://godoc.org/github.com/mattrobenolt/size?status.png :target: https://godoc.org/github.com/mattrobenolt/size ``size`` is a package for working with byte capacities similar to ``time.Duration``. Usage ~~~~~ .. code-block:: go // Returns a Capacity which is a uint64 representing // 5 gigabytes in bytes. 5*size.Gigabyte // Turn the string "5G" into a Capacity // Useful for parsing from flags. size.ParseCapacity("5G") Installation ~~~~~~~~~~~~ .. code-block:: console $ go get github.com/mattrobenolt/size Resources ~~~~~~~~~ * `Documentation `_