Versions in this module Expand all Collapse all v1 v1.8.4 Feb 22, 2022 v1.8.3 Feb 22, 2022 Changes in this version + const MaxInt + func Add64(a, b uint64) (uint64, error) + func Diff64(a, b uint64) uint64 + func Max64(max uint64, nums ...uint64) uint64 + func Min64(min uint64, nums ...uint64) uint64 + func Mul64(a, b uint64) (uint64, error) + func Sub64(a, b uint64) (uint64, error) + type Averager interface + Observe func(value float64, currentTime time.Time) + Read func() float64 + func NewAverager(initialPrediction float64, halflife time.Duration, currentTime time.Time) Averager + func NewSyncAverager(averager Averager) Averager