github.com/goplus/gossa@v0.3.25/pkg/testing/fstest/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package fstest 6 7 import ( 8 q "testing/fstest" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "fstest", 18 Path: "testing/fstest", 19 Deps: map[string]string{ 20 "errors": "errors", 21 "fmt": "fmt", 22 "io": "io", 23 "io/fs": "fs", 24 "io/ioutil": "ioutil", 25 "path": "path", 26 "reflect": "reflect", 27 "sort": "sort", 28 "strings": "strings", 29 "testing/iotest": "iotest", 30 "time": "time", 31 }, 32 Interfaces: map[string]reflect.Type{}, 33 NamedTypes: map[string]gossa.NamedType{ 34 "MapFS": {reflect.TypeOf((*q.MapFS)(nil)).Elem(), "Glob,Open,ReadDir,ReadFile,Stat,Sub", ""}, 35 "MapFile": {reflect.TypeOf((*q.MapFile)(nil)).Elem(), "", ""}, 36 }, 37 AliasTypes: map[string]reflect.Type{}, 38 Vars: map[string]reflect.Value{}, 39 Funcs: map[string]reflect.Value{ 40 "TestFS": reflect.ValueOf(q.TestFS), 41 }, 42 TypedConsts: map[string]gossa.TypedConst{}, 43 UntypedConsts: map[string]gossa.UntypedConst{}, 44 }) 45 }