github.com/goplus/igop@v0.25.0/pkg/sort/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package sort
     6  
     7  import (
     8  	q "sort"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.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]reflect.Type{
    26  			"Float64Slice": reflect.TypeOf((*q.Float64Slice)(nil)).Elem(),
    27  			"IntSlice":     reflect.TypeOf((*q.IntSlice)(nil)).Elem(),
    28  			"StringSlice":  reflect.TypeOf((*q.StringSlice)(nil)).Elem(),
    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]igop.TypedConst{},
    52  		UntypedConsts: map[string]igop.UntypedConst{},
    53  	})
    54  }