peridot/vendor/github.com/aws/aws-sdk-go/internal/sdkrand/read.go

13 lines
237 B
Go
Raw Permalink Normal View History

2022-11-04 02:21:49 +00:00
//go:build go1.6
2022-07-07 20:11:50 +00:00
// +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)
}