github.com/goplus/gossa@v0.3.25/pkg/os/exec/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package exec 6 7 import ( 8 q "os/exec" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "exec", 18 Path: "os/exec", 19 Deps: map[string]string{ 20 "bytes": "bytes", 21 "context": "context", 22 "errors": "errors", 23 "internal/syscall/execenv": "execenv", 24 "io": "io", 25 "io/fs": "fs", 26 "os": "os", 27 "path/filepath": "filepath", 28 "runtime": "runtime", 29 "strconv": "strconv", 30 "strings": "strings", 31 "sync": "sync", 32 "syscall": "syscall", 33 }, 34 Interfaces: map[string]reflect.Type{}, 35 NamedTypes: map[string]gossa.NamedType{ 36 "Cmd": {reflect.TypeOf((*q.Cmd)(nil)).Elem(), "", "CombinedOutput,Output,Run,Start,StderrPipe,StdinPipe,StdoutPipe,String,Wait,argv,closeDescriptors,envv,stderr,stdin,stdout,writerDescriptor"}, 37 "Error": {reflect.TypeOf((*q.Error)(nil)).Elem(), "", "Error,Unwrap"}, 38 "ExitError": {reflect.TypeOf((*q.ExitError)(nil)).Elem(), "", "Error"}, 39 }, 40 AliasTypes: map[string]reflect.Type{}, 41 Vars: map[string]reflect.Value{ 42 "ErrNotFound": reflect.ValueOf(&q.ErrNotFound), 43 }, 44 Funcs: map[string]reflect.Value{ 45 "Command": reflect.ValueOf(q.Command), 46 "CommandContext": reflect.ValueOf(q.CommandContext), 47 "LookPath": reflect.ValueOf(q.LookPath), 48 }, 49 TypedConsts: map[string]gossa.TypedConst{}, 50 UntypedConsts: map[string]gossa.UntypedConst{}, 51 }) 52 }