Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToFloat ¶
func MilliSecToSec ¶
func PercentageToRatio ¶
func SplitError ¶
SplitError returns a slice of errors from the given error. It reverses the errors.Join function.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func NewCounter ¶
NewCounter creates a new Counter that accepts uint32 values and returns float64 values. It resolve the overflow issue of uint32 by using the difference between the last value and the current value.
Click to show internal directories.
Click to hide internal directories.