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

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