//
pkg.gl
Category
github.com/github/git-sizer
counts
package
1.5.0
Repository:
https://github.com/github/git-sizer.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
Files
154 SLOC
#
Functions
NewCount32
NewCount32 initializes a Count32 from a uint64, capped at math.MaxUint32.
NewCount64
NewCount64 initializes a Count64 from a uint64.
#
Variables
Binary
Binary is a Humaner representing power-of-1024 based prefixes, typically used for bytes.
Metric
Metric is a Humaner representing metric prefixes.
#
Structs
Humaner
Humaner is an object that can format a Humanable in human-readable format.
Prefix
Prefix is a metric-like prefix that implies a scaling factor.
#
Interfaces
Humanable
Humanable is a quantity that can be made human-readable using `Humaner.Format()`.
#
Type aliases
Count32
Count32 is a count of something, capped at math.MaxUint32.
Count64
Count64 is a count of something, capped at math.MaxUint64.