-
Notifications
You must be signed in to change notification settings - Fork 14
/
go118_export.go
executable file
·40 lines (34 loc) · 1016 Bytes
/
go118_export.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.18
// +build go1.18
package quotedprintable
import (
q "mime/quotedprintable"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "quotedprintable",
Path: "mime/quotedprintable",
Deps: map[string]string{
"bufio": "bufio",
"bytes": "bytes",
"fmt": "fmt",
"io": "io",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]igop.NamedType{
"Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "Read"},
"Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Close,Write,checkLastByte,encode,flush,insertCRLF,insertSoftLineBreak,write"},
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"NewReader": reflect.ValueOf(q.NewReader),
"NewWriter": reflect.ValueOf(q.NewWriter),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}