github.com/goplus/gossa@v0.3.25/pkg/container/heap/go116_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.16,!go1.17
     4  
     5  package heap
     6  
     7  import (
     8  	q "container/heap"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.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]gossa.NamedType{},
    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]gossa.TypedConst{},
    36  		UntypedConsts: map[string]gossa.UntypedConst{},
    37  	})
    38  }