github.com/goplus/igop@v0.25.0/pkg/math/rand/go117_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 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 "math": "math", 22 "sync": "sync", 23 }, 24 Interfaces: map[string]reflect.Type{ 25 "Source": reflect.TypeOf((*q.Source)(nil)).Elem(), 26 "Source64": reflect.TypeOf((*q.Source64)(nil)).Elem(), 27 }, 28 NamedTypes: map[string]reflect.Type{ 29 "Rand": reflect.TypeOf((*q.Rand)(nil)).Elem(), 30 "Zipf": reflect.TypeOf((*q.Zipf)(nil)).Elem(), 31 }, 32 AliasTypes: map[string]reflect.Type{}, 33 Vars: map[string]reflect.Value{}, 34 Funcs: map[string]reflect.Value{ 35 "ExpFloat64": reflect.ValueOf(q.ExpFloat64), 36 "Float32": reflect.ValueOf(q.Float32), 37 "Float64": reflect.ValueOf(q.Float64), 38 "Int": reflect.ValueOf(q.Int), 39 "Int31": reflect.ValueOf(q.Int31), 40 "Int31n": reflect.ValueOf(q.Int31n), 41 "Int63": reflect.ValueOf(q.Int63), 42 "Int63n": reflect.ValueOf(q.Int63n), 43 "Intn": reflect.ValueOf(q.Intn), 44 "New": reflect.ValueOf(q.New), 45 "NewSource": reflect.ValueOf(q.NewSource), 46 "NewZipf": reflect.ValueOf(q.NewZipf), 47 "NormFloat64": reflect.ValueOf(q.NormFloat64), 48 "Perm": reflect.ValueOf(q.Perm), 49 "Read": reflect.ValueOf(q.Read), 50 "Seed": reflect.ValueOf(q.Seed), 51 "Shuffle": reflect.ValueOf(q.Shuffle), 52 "Uint32": reflect.ValueOf(q.Uint32), 53 "Uint64": reflect.ValueOf(q.Uint64), 54 }, 55 TypedConsts: map[string]igop.TypedConst{}, 56 UntypedConsts: map[string]igop.UntypedConst{}, 57 }) 58 }