github.com/goplus/igop@v0.17.0/pkg/path/filepath/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package filepath 6 7 import ( 8 q "path/filepath" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "filepath", 19 Path: "path/filepath", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "io/fs": "fs", 23 "os": "os", 24 "runtime": "runtime", 25 "sort": "sort", 26 "strings": "strings", 27 "syscall": "syscall", 28 "unicode/utf8": "utf8", 29 }, 30 Interfaces: map[string]reflect.Type{}, 31 NamedTypes: map[string]reflect.Type{ 32 "WalkFunc": reflect.TypeOf((*q.WalkFunc)(nil)).Elem(), 33 }, 34 AliasTypes: map[string]reflect.Type{}, 35 Vars: map[string]reflect.Value{ 36 "ErrBadPattern": reflect.ValueOf(&q.ErrBadPattern), 37 "SkipDir": reflect.ValueOf(&q.SkipDir), 38 }, 39 Funcs: map[string]reflect.Value{ 40 "Abs": reflect.ValueOf(q.Abs), 41 "Base": reflect.ValueOf(q.Base), 42 "Clean": reflect.ValueOf(q.Clean), 43 "Dir": reflect.ValueOf(q.Dir), 44 "EvalSymlinks": reflect.ValueOf(q.EvalSymlinks), 45 "Ext": reflect.ValueOf(q.Ext), 46 "FromSlash": reflect.ValueOf(q.FromSlash), 47 "Glob": reflect.ValueOf(q.Glob), 48 "HasPrefix": reflect.ValueOf(q.HasPrefix), 49 "IsAbs": reflect.ValueOf(q.IsAbs), 50 "Join": reflect.ValueOf(q.Join), 51 "Match": reflect.ValueOf(q.Match), 52 "Rel": reflect.ValueOf(q.Rel), 53 "Split": reflect.ValueOf(q.Split), 54 "SplitList": reflect.ValueOf(q.SplitList), 55 "ToSlash": reflect.ValueOf(q.ToSlash), 56 "VolumeName": reflect.ValueOf(q.VolumeName), 57 "Walk": reflect.ValueOf(q.Walk), 58 "WalkDir": reflect.ValueOf(q.WalkDir), 59 }, 60 TypedConsts: map[string]igop.TypedConst{}, 61 UntypedConsts: map[string]igop.UntypedConst{ 62 "ListSeparator": {"untyped rune", constant.MakeInt64(int64(q.ListSeparator))}, 63 "Separator": {"untyped rune", constant.MakeInt64(int64(q.Separator))}, 64 }, 65 }) 66 }