github.com/goplus/igop@v0.25.0/pkg/crypto/rand/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package rand
     6  
     7  import (
     8  	q "crypto/rand"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "rand",
    18  		Path: "crypto/rand",
    19  		Deps: map[string]string{
    20  			"bufio":           "bufio",
    21  			"crypto/aes":      "aes",
    22  			"crypto/cipher":   "cipher",
    23  			"encoding/binary": "binary",
    24  			"errors":          "errors",
    25  			"io":              "io",
    26  			"math/big":        "big",
    27  			"os":              "os",
    28  			"runtime":         "runtime",
    29  			"sync":            "sync",
    30  			"sync/atomic":     "atomic",
    31  			"syscall":         "syscall",
    32  			"time":            "time",
    33  		},
    34  		Interfaces: map[string]reflect.Type{},
    35  		NamedTypes: map[string]reflect.Type{},
    36  		AliasTypes: map[string]reflect.Type{},
    37  		Vars: map[string]reflect.Value{
    38  			"Reader": reflect.ValueOf(&q.Reader),
    39  		},
    40  		Funcs: map[string]reflect.Value{
    41  			"Int":   reflect.ValueOf(q.Int),
    42  			"Prime": reflect.ValueOf(q.Prime),
    43  			"Read":  reflect.ValueOf(q.Read),
    44  		},
    45  		TypedConsts:   map[string]igop.TypedConst{},
    46  		UntypedConsts: map[string]igop.UntypedConst{},
    47  	})
    48  }