terraform-provider-gitea/vendor/github.com/aws/aws-sdk-go/internal/sdkrand/read.go

12 lines
220 B
Go
Raw Normal View History

2022-04-03 04:07:16 +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)
}