github.com/goplus/igop@v0.25.0/pkg/plugin/go119_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.19 && !go1.20 4 // +build go1.19,!go1.20 5 6 package plugin 7 8 import ( 9 q "plugin" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "plugin", 19 Path: "plugin", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "runtime/cgo": "cgo", 23 "sync": "sync", 24 "syscall": "syscall", 25 "unsafe": "unsafe", 26 }, 27 Interfaces: map[string]reflect.Type{ 28 "Symbol": reflect.TypeOf((*q.Symbol)(nil)).Elem(), 29 }, 30 NamedTypes: map[string]reflect.Type{ 31 "Plugin": reflect.TypeOf((*q.Plugin)(nil)).Elem(), 32 }, 33 AliasTypes: map[string]reflect.Type{}, 34 Vars: map[string]reflect.Value{}, 35 Funcs: map[string]reflect.Value{ 36 "Open": reflect.ValueOf(q.Open), 37 }, 38 TypedConsts: map[string]igop.TypedConst{}, 39 UntypedConsts: map[string]igop.UntypedConst{}, 40 }) 41 }