-
Notifications
You must be signed in to change notification settings - Fork 14
/
go120_export.go
executable file
·54 lines (48 loc) · 1.61 KB
/
go120_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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.20
// +build go1.20
package textproto
import (
q "net/textproto"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "textproto",
Path: "net/textproto",
Deps: map[string]string{
"bufio": "bufio",
"bytes": "bytes",
"fmt": "fmt",
"io": "io",
"net": "net",
"strconv": "strconv",
"strings": "strings",
"sync": "sync",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"Conn": reflect.TypeOf((*q.Conn)(nil)).Elem(),
"Error": reflect.TypeOf((*q.Error)(nil)).Elem(),
"MIMEHeader": reflect.TypeOf((*q.MIMEHeader)(nil)).Elem(),
"Pipeline": reflect.TypeOf((*q.Pipeline)(nil)).Elem(),
"ProtocolError": reflect.TypeOf((*q.ProtocolError)(nil)).Elem(),
"Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(),
"Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"CanonicalMIMEHeaderKey": reflect.ValueOf(q.CanonicalMIMEHeaderKey),
"Dial": reflect.ValueOf(q.Dial),
"NewConn": reflect.ValueOf(q.NewConn),
"NewReader": reflect.ValueOf(q.NewReader),
"NewWriter": reflect.ValueOf(q.NewWriter),
"TrimBytes": reflect.ValueOf(q.TrimBytes),
"TrimString": reflect.ValueOf(q.TrimString),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}