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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.16,!go1.17
     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  			"io/fs":           "fs",
    27  			"math/big":        "big",
    28  			"os":              "os",
    29  			"runtime":         "runtime",
    30  			"sync":            "sync",
    31  			"sync/atomic":     "atomic",
    32  			"syscall":         "syscall",
    33  			"time":            "time",
    34  		},
    35  		Interfaces: map[string]reflect.Type{},
    36  		NamedTypes: map[string]reflect.Type{},
    37  		AliasTypes: map[string]reflect.Type{},
    38  		Vars: map[string]reflect.Value{
    39  			"Reader": reflect.ValueOf(&q.Reader),
    40  		},
    41  		Funcs: map[string]reflect.Value{
    42  			"Int":   reflect.ValueOf(q.Int),
    43  			"Prime": reflect.ValueOf(q.Prime),
    44  			"Read":  reflect.ValueOf(q.Read),
    45  		},
    46  		TypedConsts:   map[string]igop.TypedConst{},
    47  		UntypedConsts: map[string]igop.UntypedConst{},
    48  	})
    49  }