package
1.8.1
Repository: https://github.com/zeromicro/go-zero.git
Documentation: pkg.go.dev

# Functions

AtLeast returns the greater of x or lower.
AtMost returns the smaller of x or upper.
Between returns the value of x clamped to the range [lower, upper].
CalcEntropy calculates the entropy of m.
MaxInt returns the larger one of a and b.
MinInt returns the smaller one of a and b.
NewProba returns a Proba.
NewUnstable returns an Unstable.

# Structs

A Proba is used to test if true on given probability.
An Unstable is used to generate random value around the mean value base on given deviation.

# Interfaces

No description provided by the author