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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.17 && !go1.18
     4  // +build go1.17,!go1.18
     5  
     6  package fstest
     7  
     8  import (
     9  	q "testing/fstest"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "fstest",
    19  		Path: "testing/fstest",
    20  		Deps: map[string]string{
    21  			"errors":         "errors",
    22  			"fmt":            "fmt",
    23  			"io":             "io",
    24  			"io/fs":          "fs",
    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  }