Files
moxa/stdlib/go1_11_crypto_rand.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

24 lines
452 B
Go

// +build go1.11,!go1.12
package stdlib
// Code generated by 'goexports crypto/rand'. DO NOT EDIT.
import (
"crypto/rand"
"reflect"
)
func init() {
Value["crypto/rand"] = map[string]reflect.Value{
// function, constant and variable definitions
"Int": reflect.ValueOf(rand.Int),
"Prime": reflect.ValueOf(rand.Prime),
"Read": reflect.ValueOf(rand.Read),
"Reader": reflect.ValueOf(&rand.Reader).Elem(),
// type definitions
}
}