github.com/goplus/gossa@v0.3.25/pkg/sort/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package sort 6 7 import ( 8 q "sort" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "sort", 18 Path: "sort", 19 Deps: map[string]string{ 20 "internal/reflectlite": "reflectlite", 21 }, 22 Interfaces: map[string]reflect.Type{ 23 "Interface": reflect.TypeOf((*q.Interface)(nil)).Elem(), 24 }, 25 NamedTypes: map[string]gossa.NamedType{ 26 "Float64Slice": {reflect.TypeOf((*q.Float64Slice)(nil)).Elem(), "Len,Less,Search,Sort,Swap", ""}, 27 "IntSlice": {reflect.TypeOf((*q.IntSlice)(nil)).Elem(), "Len,Less,Search,Sort,Swap", ""}, 28 "StringSlice": {reflect.TypeOf((*q.StringSlice)(nil)).Elem(), "Len,Less,Search,Sort,Swap", ""}, 29 }, 30 AliasTypes: map[string]reflect.Type{}, 31 Vars: map[string]reflect.Value{}, 32 Funcs: map[string]reflect.Value{ 33 "Float64s": reflect.ValueOf(q.Float64s), 34 "Float64sAreSorted": reflect.ValueOf(q.Float64sAreSorted), 35 "Ints": reflect.ValueOf(q.Ints), 36 "IntsAreSorted": reflect.ValueOf(q.IntsAreSorted), 37 "IsSorted": reflect.ValueOf(q.IsSorted), 38 "Reverse": reflect.ValueOf(q.Reverse), 39 "Search": reflect.ValueOf(q.Search), 40 "SearchFloat64s": reflect.ValueOf(q.SearchFloat64s), 41 "SearchInts": reflect.ValueOf(q.SearchInts), 42 "SearchStrings": reflect.ValueOf(q.SearchStrings), 43 "Slice": reflect.ValueOf(q.Slice), 44 "SliceIsSorted": reflect.ValueOf(q.SliceIsSorted), 45 "SliceStable": reflect.ValueOf(q.SliceStable), 46 "Sort": reflect.ValueOf(q.Sort), 47 "Stable": reflect.ValueOf(q.Stable), 48 "Strings": reflect.ValueOf(q.Strings), 49 "StringsAreSorted": reflect.ValueOf(q.StringsAreSorted), 50 }, 51 TypedConsts: map[string]gossa.TypedConst{}, 52 UntypedConsts: map[string]gossa.UntypedConst{}, 53 }) 54 }