mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* Update many modules. go get -u golang.org/x/net go get -u github.com/aws/aws-sdk-go go get -u golang.org/x/oauth2 go get -u google.golang.org/api go get -u gopkg.in/yaml.v2 go mod tidy * Update modules go get -u github.com/tiramiseb/go-gandi go get -u github.com/miekg/dns go mod tidy
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)
|
|
}
|