github.com/goplus/igop@v0.25.0/pkg/testing/fstest/go116_export.go (about)

     1  // export by github.com/goplus/igop/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/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.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]reflect.Type{
    34  			"MapFS":   reflect.TypeOf((*q.MapFS)(nil)).Elem(),
    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]igop.TypedConst{},
    43  		UntypedConsts: map[string]igop.UntypedConst{},
    44  	})
    45  }