github.com/goplus/igop@v0.25.0/pkg/io/ioutil/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package ioutil
     6  
     7  import (
     8  	q "io/ioutil"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "ioutil",
    18  		Path: "io/ioutil",
    19  		Deps: map[string]string{
    20  			"bytes":         "bytes",
    21  			"errors":        "errors",
    22  			"io":            "io",
    23  			"os":            "os",
    24  			"path/filepath": "filepath",
    25  			"sort":          "sort",
    26  			"strconv":       "strconv",
    27  			"strings":       "strings",
    28  			"sync":          "sync",
    29  			"time":          "time",
    30  		},
    31  		Interfaces: map[string]reflect.Type{},
    32  		NamedTypes: map[string]reflect.Type{},
    33  		AliasTypes: map[string]reflect.Type{},
    34  		Vars: map[string]reflect.Value{
    35  			"Discard": reflect.ValueOf(&q.Discard),
    36  		},
    37  		Funcs: map[string]reflect.Value{
    38  			"NopCloser": reflect.ValueOf(q.NopCloser),
    39  			"ReadAll":   reflect.ValueOf(q.ReadAll),
    40  			"ReadDir":   reflect.ValueOf(q.ReadDir),
    41  			"ReadFile":  reflect.ValueOf(q.ReadFile),
    42  			"TempDir":   reflect.ValueOf(q.TempDir),
    43  			"TempFile":  reflect.ValueOf(q.TempFile),
    44  			"WriteFile": reflect.ValueOf(q.WriteFile),
    45  		},
    46  		TypedConsts:   map[string]igop.TypedConst{},
    47  		UntypedConsts: map[string]igop.UntypedConst{},
    48  	})
    49  }