github.com/goplus/gossa@v0.3.25/pkg/plugin/go117_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package plugin 7 8 import ( 9 q "plugin" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.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]gossa.NamedType{ 31 "Plugin": {reflect.TypeOf((*q.Plugin)(nil)).Elem(), "", "Lookup"}, 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]gossa.TypedConst{}, 39 UntypedConsts: map[string]gossa.UntypedConst{}, 40 }) 41 }