-
Notifications
You must be signed in to change notification settings - Fork 14
/
go120_export.go
executable file
·44 lines (38 loc) · 1.12 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
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.20
// +build go1.20
package importer
import (
q "go/importer"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "importer",
Path: "go/importer",
Deps: map[string]string{
"go/build": "build",
"go/internal/gccgoimporter": "gccgoimporter",
"go/internal/gcimporter": "gcimporter",
"go/internal/srcimporter": "srcimporter",
"go/token": "token",
"go/types": "types",
"io": "io",
"runtime": "runtime",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"Lookup": reflect.TypeOf((*q.Lookup)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"Default": reflect.ValueOf(q.Default),
"For": reflect.ValueOf(q.For),
"ForCompiler": reflect.ValueOf(q.ForCompiler),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}