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

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.16,!go1.17
     4  
     5  package encoding
     6  
     7  import (
     8  	q "encoding"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "encoding",
    18  		Path: "encoding",
    19  		Deps: map[string]string{},
    20  		Interfaces: map[string]reflect.Type{
    21  			"BinaryMarshaler":   reflect.TypeOf((*q.BinaryMarshaler)(nil)).Elem(),
    22  			"BinaryUnmarshaler": reflect.TypeOf((*q.BinaryUnmarshaler)(nil)).Elem(),
    23  			"TextMarshaler":     reflect.TypeOf((*q.TextMarshaler)(nil)).Elem(),
    24  			"TextUnmarshaler":   reflect.TypeOf((*q.TextUnmarshaler)(nil)).Elem(),
    25  		},
    26  		NamedTypes:    map[string]gossa.NamedType{},
    27  		AliasTypes:    map[string]reflect.Type{},
    28  		Vars:          map[string]reflect.Value{},
    29  		Funcs:         map[string]reflect.Value{},
    30  		TypedConsts:   map[string]gossa.TypedConst{},
    31  		UntypedConsts: map[string]gossa.UntypedConst{},
    32  	})
    33  }