mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
1e46961d68
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/203 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/38
12 lines
220 B
Go
12 lines
220 B
Go
// +build go1.6
|
|
|
|
package sdkrand
|
|
|
|
import "math/rand"
|
|
|
|
// Read provides the stub for math.Rand.Read method support for go version's
|
|
// 1.6 and greater.
|
|
func Read(r *rand.Rand, p []byte) (int, error) {
|
|
return r.Read(p)
|
|
}
|