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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.17 && !go1.18
     4  // +build go1.17,!go1.18
     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  		},
    23  		Interfaces: map[string]reflect.Type{
    24  			"Interface": reflect.TypeOf((*q.Interface)(nil)).Elem(),
    25  		},
    26  		NamedTypes: map[string]reflect.Type{
    27  			"Float64Slice": reflect.TypeOf((*q.Float64Slice)(nil)).Elem(),
    28  			"IntSlice":     reflect.TypeOf((*q.IntSlice)(nil)).Elem(),
    29  			"StringSlice":  reflect.TypeOf((*q.StringSlice)(nil)).Elem(),
    30  		},
    31  		AliasTypes: map[string]reflect.Type{},
    32  		Vars:       map[string]reflect.Value{},
    33  		Funcs: map[string]reflect.Value{
    34  			"Float64s":          reflect.ValueOf(q.Float64s),
    35  			"Float64sAreSorted": reflect.ValueOf(q.Float64sAreSorted),
    36  			"Ints":              reflect.ValueOf(q.Ints),
    37  			"IntsAreSorted":     reflect.ValueOf(q.IntsAreSorted),
    38  			"IsSorted":          reflect.ValueOf(q.IsSorted),
    39  			"Reverse":           reflect.ValueOf(q.Reverse),
    40  			"Search":            reflect.ValueOf(q.Search),
    41  			"SearchFloat64s":    reflect.ValueOf(q.SearchFloat64s),
    42  			"SearchInts":        reflect.ValueOf(q.SearchInts),
    43  			"SearchStrings":     reflect.ValueOf(q.SearchStrings),
    44  			"Slice":             reflect.ValueOf(q.Slice),
    45  			"SliceIsSorted":     reflect.ValueOf(q.SliceIsSorted),
    46  			"SliceStable":       reflect.ValueOf(q.SliceStable),
    47  			"Sort":              reflect.ValueOf(q.Sort),
    48  			"Stable":            reflect.ValueOf(q.Stable),
    49  			"Strings":           reflect.ValueOf(q.Strings),
    50  			"StringsAreSorted":  reflect.ValueOf(q.StringsAreSorted),
    51  		},
    52  		TypedConsts:   map[string]igop.TypedConst{},
    53  		UntypedConsts: map[string]igop.UntypedConst{},
    54  	})
    55  }