github.com/goplus/gossa@v0.3.25/pkg/path/go115_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package path
     6  
     7  import (
     8  	q "path"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "path",
    18  		Path: "path",
    19  		Deps: map[string]string{
    20  			"errors":       "errors",
    21  			"strings":      "strings",
    22  			"unicode/utf8": "utf8",
    23  		},
    24  		Interfaces: map[string]reflect.Type{},
    25  		NamedTypes: map[string]gossa.NamedType{},
    26  		AliasTypes: map[string]reflect.Type{},
    27  		Vars: map[string]reflect.Value{
    28  			"ErrBadPattern": reflect.ValueOf(&q.ErrBadPattern),
    29  		},
    30  		Funcs: map[string]reflect.Value{
    31  			"Base":  reflect.ValueOf(q.Base),
    32  			"Clean": reflect.ValueOf(q.Clean),
    33  			"Dir":   reflect.ValueOf(q.Dir),
    34  			"Ext":   reflect.ValueOf(q.Ext),
    35  			"IsAbs": reflect.ValueOf(q.IsAbs),
    36  			"Join":  reflect.ValueOf(q.Join),
    37  			"Match": reflect.ValueOf(q.Match),
    38  			"Split": reflect.ValueOf(q.Split),
    39  		},
    40  		TypedConsts:   map[string]gossa.TypedConst{},
    41  		UntypedConsts: map[string]gossa.UntypedConst{},
    42  	})
    43  }