-
Notifications
You must be signed in to change notification settings - Fork 14
/
go121_export.go
executable file
·57 lines (51 loc) · 1.63 KB
/
go121_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
55
56
57
// export by github.com/goplus/igop/cmd/qexp
//go:build go1.21
// +build go1.21
package exec
import (
q "os/exec"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "exec",
Path: "os/exec",
Deps: map[string]string{
"bytes": "bytes",
"context": "context",
"errors": "errors",
"internal/godebug": "godebug",
"internal/syscall/execenv": "execenv",
"internal/syscall/unix": "unix",
"io": "io",
"io/fs": "fs",
"os": "os",
"path/filepath": "filepath",
"runtime": "runtime",
"strconv": "strconv",
"strings": "strings",
"syscall": "syscall",
"time": "time",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"Cmd": reflect.TypeOf((*q.Cmd)(nil)).Elem(),
"Error": reflect.TypeOf((*q.Error)(nil)).Elem(),
"ExitError": reflect.TypeOf((*q.ExitError)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{},
Vars: map[string]reflect.Value{
"ErrDot": reflect.ValueOf(&q.ErrDot),
"ErrNotFound": reflect.ValueOf(&q.ErrNotFound),
"ErrWaitDelay": reflect.ValueOf(&q.ErrWaitDelay),
},
Funcs: map[string]reflect.Value{
"Command": reflect.ValueOf(q.Command),
"CommandContext": reflect.ValueOf(q.CommandContext),
"LookPath": reflect.ValueOf(q.LookPath),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}