github.com/goplus/igop@v0.25.0/pkg/container/list/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 list
     7  
     8  import (
     9  	q "container/list"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name:       "list",
    19  		Path:       "container/list",
    20  		Deps:       map[string]string{},
    21  		Interfaces: map[string]reflect.Type{},
    22  		NamedTypes: map[string]reflect.Type{
    23  			"Element": reflect.TypeOf((*q.Element)(nil)).Elem(),
    24  			"List":    reflect.TypeOf((*q.List)(nil)).Elem(),
    25  		},
    26  		AliasTypes: map[string]reflect.Type{},
    27  		Vars:       map[string]reflect.Value{},
    28  		Funcs: map[string]reflect.Value{
    29  			"New": reflect.ValueOf(q.New),
    30  		},
    31  		TypedConsts:   map[string]igop.TypedConst{},
    32  		UntypedConsts: map[string]igop.UntypedConst{},
    33  	})
    34  }