github.com/goplus/igop@v0.25.0/pkg/container/heap/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package heap
     6  
     7  import (
     8  	q "container/heap"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "heap",
    18  		Path: "container/heap",
    19  		Deps: map[string]string{
    20  			"sort": "sort",
    21  		},
    22  		Interfaces: map[string]reflect.Type{
    23  			"Interface": reflect.TypeOf((*q.Interface)(nil)).Elem(),
    24  		},
    25  		NamedTypes: map[string]reflect.Type{},
    26  		AliasTypes: map[string]reflect.Type{},
    27  		Vars:       map[string]reflect.Value{},
    28  		Funcs: map[string]reflect.Value{
    29  			"Fix":    reflect.ValueOf(q.Fix),
    30  			"Init":   reflect.ValueOf(q.Init),
    31  			"Pop":    reflect.ValueOf(q.Pop),
    32  			"Push":   reflect.ValueOf(q.Push),
    33  			"Remove": reflect.ValueOf(q.Remove),
    34  		},
    35  		TypedConsts:   map[string]igop.TypedConst{},
    36  		UntypedConsts: map[string]igop.UntypedConst{},
    37  	})
    38  }