Debian Codegraph @

stdlib/go1_21_crypto_rand.go

raw symbols SCIP
1 // Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT.
2
3 //go:build go1.21 && !go1.22
4 // +build go1.21,!go1.22
5
6 package stdlib
7
8 import (
9 "crypto/rand"
10 "reflect"
11 )
12
13 func init() {
14 Symbols["crypto/rand/rand"] = map[string]reflect.Value{
15 // function, constant and variable definitions
16 "Int": reflect.ValueOf(rand.Int),
17 "Prime": reflect.ValueOf(rand.Prime),
18 "Read": reflect.ValueOf(rand.Read),
19 "Reader": reflect.ValueOf(&rand.Reader).Elem(),
20 }
21 }