github.com/goplus/igop@v0.25.0/pkg/io/ioutil/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 ioutil
     7  
     8  import (
     9  	q "io/ioutil"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "ioutil",
    19  		Path: "io/ioutil",
    20  		Deps: map[string]string{
    21  			"io":    "io",
    22  			"io/fs": "fs",
    23  			"os":    "os",
    24  			"sort":  "sort",
    25  		},
    26  		Interfaces: map[string]reflect.Type{},
    27  		NamedTypes: map[string]reflect.Type{},
    28  		AliasTypes: map[string]reflect.Type{},
    29  		Vars: map[string]reflect.Value{
    30  			"Discard": reflect.ValueOf(&q.Discard),
    31  		},
    32  		Funcs: map[string]reflect.Value{
    33  			"NopCloser": reflect.ValueOf(q.NopCloser),
    34  			"ReadAll":   reflect.ValueOf(q.ReadAll),
    35  			"ReadDir":   reflect.ValueOf(q.ReadDir),
    36  			"ReadFile":  reflect.ValueOf(q.ReadFile),
    37  			"TempDir":   reflect.ValueOf(q.TempDir),
    38  			"TempFile":  reflect.ValueOf(q.TempFile),
    39  			"WriteFile": reflect.ValueOf(q.WriteFile),
    40  		},
    41  		TypedConsts:   map[string]igop.TypedConst{},
    42  		UntypedConsts: map[string]igop.UntypedConst{},
    43  	})
    44  }