github.com/goplus/gossa@v0.3.25/pkg/mime/quotedprintable/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 quotedprintable
     7  
     8  import (
     9  	q "mime/quotedprintable"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/gossa"
    14  )
    15  
    16  func init() {
    17  	gossa.RegisterPackage(&gossa.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]gossa.NamedType{
    28  			"Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "Read"},
    29  			"Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Close,Write,checkLastByte,encode,flush,insertCRLF,insertSoftLineBreak,write"},
    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]gossa.TypedConst{},
    38  		UntypedConsts: map[string]gossa.UntypedConst{},
    39  	})
    40  }