github.com/goplus/igop@v0.25.0/pkg/mime/quotedprintable/go120_export.go (about)

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