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

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