Files
moxa/stdlib/go1_15_crypto_rand.go
2020-11-05 11:40:04 +01:00

21 lines
426 B
Go

// Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT.
// +build go1.15
package stdlib
import (
"crypto/rand"
"reflect"
)
func init() {
Symbols["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(),
}
}