github.com/goplus/gossa@v0.3.25/pkg/testing/iotest/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package iotest 6 7 import ( 8 q "testing/iotest" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.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]gossa.NamedType{}, 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]gossa.TypedConst{}, 40 UntypedConsts: map[string]gossa.UntypedConst{}, 41 }) 42 }