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