github.com/goplus/igop@v0.25.0/pkg/testing/iotest/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package iotest
     6  
     7  import (
     8  	q "testing/iotest"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "iotest",
    18  		Path: "testing/iotest",
    19  		Deps: map[string]string{
    20  			"errors": "errors",
    21  			"io":     "io",
    22  			"log":    "log",
    23  		},
    24  		Interfaces: map[string]reflect.Type{},
    25  		NamedTypes: map[string]reflect.Type{},
    26  		AliasTypes: map[string]reflect.Type{},
    27  		Vars: map[string]reflect.Value{
    28  			"ErrTimeout": reflect.ValueOf(&q.ErrTimeout),
    29  		},
    30  		Funcs: map[string]reflect.Value{
    31  			"DataErrReader":  reflect.ValueOf(q.DataErrReader),
    32  			"HalfReader":     reflect.ValueOf(q.HalfReader),
    33  			"NewReadLogger":  reflect.ValueOf(q.NewReadLogger),
    34  			"NewWriteLogger": reflect.ValueOf(q.NewWriteLogger),
    35  			"OneByteReader":  reflect.ValueOf(q.OneByteReader),
    36  			"TimeoutReader":  reflect.ValueOf(q.TimeoutReader),
    37  			"TruncateWriter": reflect.ValueOf(q.TruncateWriter),
    38  		},
    39  		TypedConsts:   map[string]igop.TypedConst{},
    40  		UntypedConsts: map[string]igop.UntypedConst{},
    41  	})
    42  }