github.com/goplus/igop@v0.25.0/pkg/crypto/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 "crypto/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: "crypto/rand",
    20  		Deps: map[string]string{
    21  			"crypto/internal/boring":   "boring",
    22  			"crypto/internal/randutil": "randutil",
    23  			"errors":                   "errors",
    24  			"internal/syscall/unix":    "unix",
    25  			"io":                       "io",
    26  			"math/big":                 "big",
    27  			"os":                       "os",
    28  			"sync":                     "sync",
    29  			"sync/atomic":              "atomic",
    30  			"syscall":                  "syscall",
    31  			"time":                     "time",
    32  		},
    33  		Interfaces: map[string]reflect.Type{},
    34  		NamedTypes: map[string]reflect.Type{},
    35  		AliasTypes: map[string]reflect.Type{},
    36  		Vars: map[string]reflect.Value{
    37  			"Reader": reflect.ValueOf(&q.Reader),
    38  		},
    39  		Funcs: map[string]reflect.Value{
    40  			"Int":   reflect.ValueOf(q.Int),
    41  			"Prime": reflect.ValueOf(q.Prime),
    42  			"Read":  reflect.ValueOf(q.Read),
    43  		},
    44  		TypedConsts:   map[string]igop.TypedConst{},
    45  		UntypedConsts: map[string]igop.UntypedConst{},
    46  	})
    47  }