github.com/goplus/igop@v0.25.0/pkg/path/go118_export.go (about)

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