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