github.com/goplus/igop@v0.25.0/pkg/os/exec/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 && !go1.21 4 // +build go1.20,!go1.21 5 6 package exec 7 8 import ( 9 q "os/exec" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "exec", 19 Path: "os/exec", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "context": "context", 23 "errors": "errors", 24 "internal/godebug": "godebug", 25 "internal/syscall/execenv": "execenv", 26 "internal/syscall/unix": "unix", 27 "io": "io", 28 "io/fs": "fs", 29 "os": "os", 30 "path/filepath": "filepath", 31 "runtime": "runtime", 32 "strconv": "strconv", 33 "strings": "strings", 34 "syscall": "syscall", 35 "time": "time", 36 }, 37 Interfaces: map[string]reflect.Type{}, 38 NamedTypes: map[string]reflect.Type{ 39 "Cmd": reflect.TypeOf((*q.Cmd)(nil)).Elem(), 40 "Error": reflect.TypeOf((*q.Error)(nil)).Elem(), 41 "ExitError": reflect.TypeOf((*q.ExitError)(nil)).Elem(), 42 }, 43 AliasTypes: map[string]reflect.Type{}, 44 Vars: map[string]reflect.Value{ 45 "ErrDot": reflect.ValueOf(&q.ErrDot), 46 "ErrNotFound": reflect.ValueOf(&q.ErrNotFound), 47 "ErrWaitDelay": reflect.ValueOf(&q.ErrWaitDelay), 48 }, 49 Funcs: map[string]reflect.Value{ 50 "Command": reflect.ValueOf(q.Command), 51 "CommandContext": reflect.ValueOf(q.CommandContext), 52 "LookPath": reflect.ValueOf(q.LookPath), 53 }, 54 TypedConsts: map[string]igop.TypedConst{}, 55 UntypedConsts: map[string]igop.UntypedConst{}, 56 }) 57 }