github.com/goplus/gossa@v0.3.25/pkg/testing/iotest/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 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 "bytes": "bytes", 21 "errors": "errors", 22 "fmt": "fmt", 23 "io": "io", 24 "log": "log", 25 }, 26 Interfaces: map[string]reflect.Type{}, 27 NamedTypes: map[string]gossa.NamedType{}, 28 AliasTypes: map[string]reflect.Type{}, 29 Vars: map[string]reflect.Value{ 30 "ErrTimeout": reflect.ValueOf(&q.ErrTimeout), 31 }, 32 Funcs: map[string]reflect.Value{ 33 "DataErrReader": reflect.ValueOf(q.DataErrReader), 34 "ErrReader": reflect.ValueOf(q.ErrReader), 35 "HalfReader": reflect.ValueOf(q.HalfReader), 36 "NewReadLogger": reflect.ValueOf(q.NewReadLogger), 37 "NewWriteLogger": reflect.ValueOf(q.NewWriteLogger), 38 "OneByteReader": reflect.ValueOf(q.OneByteReader), 39 "TestReader": reflect.ValueOf(q.TestReader), 40 "TimeoutReader": reflect.ValueOf(q.TimeoutReader), 41 "TruncateWriter": reflect.ValueOf(q.TruncateWriter), 42 }, 43 TypedConsts: map[string]gossa.TypedConst{}, 44 UntypedConsts: map[string]gossa.UntypedConst{}, 45 }) 46 }