github.com/goplus/igop@v0.25.0/pkg/math/rand/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 5 6 package rand 7 8 import ( 9 q "math/rand" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "rand", 19 Path: "math/rand", 20 Deps: map[string]string{ 21 "internal/godebug": "godebug", 22 "math": "math", 23 "sync": "sync", 24 "sync/atomic": "atomic", 25 "unsafe": "unsafe", 26 }, 27 Interfaces: map[string]reflect.Type{ 28 "Source": reflect.TypeOf((*q.Source)(nil)).Elem(), 29 "Source64": reflect.TypeOf((*q.Source64)(nil)).Elem(), 30 }, 31 NamedTypes: map[string]reflect.Type{ 32 "Rand": reflect.TypeOf((*q.Rand)(nil)).Elem(), 33 "Zipf": reflect.TypeOf((*q.Zipf)(nil)).Elem(), 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 37 Funcs: map[string]reflect.Value{ 38 "ExpFloat64": reflect.ValueOf(q.ExpFloat64), 39 "Float32": reflect.ValueOf(q.Float32), 40 "Float64": reflect.ValueOf(q.Float64), 41 "Int": reflect.ValueOf(q.Int), 42 "Int31": reflect.ValueOf(q.Int31), 43 "Int31n": reflect.ValueOf(q.Int31n), 44 "Int63": reflect.ValueOf(q.Int63), 45 "Int63n": reflect.ValueOf(q.Int63n), 46 "Intn": reflect.ValueOf(q.Intn), 47 "New": reflect.ValueOf(q.New), 48 "NewSource": reflect.ValueOf(q.NewSource), 49 "NewZipf": reflect.ValueOf(q.NewZipf), 50 "NormFloat64": reflect.ValueOf(q.NormFloat64), 51 "Perm": reflect.ValueOf(q.Perm), 52 "Read": reflect.ValueOf(q.Read), 53 "Seed": reflect.ValueOf(q.Seed), 54 "Shuffle": reflect.ValueOf(q.Shuffle), 55 "Uint32": reflect.ValueOf(q.Uint32), 56 "Uint64": reflect.ValueOf(q.Uint64), 57 }, 58 TypedConsts: map[string]igop.TypedConst{}, 59 UntypedConsts: map[string]igop.UntypedConst{}, 60 }) 61 }