-
Notifications
You must be signed in to change notification settings - Fork 14
/
go119_export.go
executable file
·47 lines (41 loc) · 1.15 KB
/
go119_export.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.19
// +build go1.19
package rand
import (
q "crypto/rand"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "rand",
Path: "crypto/rand",
Deps: map[string]string{
"crypto/internal/boring": "boring",
"crypto/internal/randutil": "randutil",
"errors": "errors",
"internal/syscall/unix": "unix",
"io": "io",
"math/big": "big",
"os": "os",
"sync": "sync",
"sync/atomic": "atomic",
"syscall": "syscall",
"time": "time",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{
"Reader": reflect.ValueOf(&q.Reader),
},
Funcs: map[string]reflect.Value{
"Int": reflect.ValueOf(q.Int),
"Prime": reflect.ValueOf(q.Prime),
"Read": reflect.ValueOf(q.Read),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}