github.com/goplus/igop@v0.25.0/pkg/context/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package context 6 7 import ( 8 q "context" 9 10 "reflect" 11 12 "github.com/goplus/igop" 13 ) 14 15 func init() { 16 igop.RegisterPackage(&igop.Package{ 17 Name: "context", 18 Path: "context", 19 Deps: map[string]string{ 20 "errors": "errors", 21 "internal/reflectlite": "reflectlite", 22 "sync": "sync", 23 "sync/atomic": "atomic", 24 "time": "time", 25 }, 26 Interfaces: map[string]reflect.Type{ 27 "Context": reflect.TypeOf((*q.Context)(nil)).Elem(), 28 }, 29 NamedTypes: map[string]reflect.Type{ 30 "CancelFunc": reflect.TypeOf((*q.CancelFunc)(nil)).Elem(), 31 }, 32 AliasTypes: map[string]reflect.Type{}, 33 Vars: map[string]reflect.Value{ 34 "Canceled": reflect.ValueOf(&q.Canceled), 35 "DeadlineExceeded": reflect.ValueOf(&q.DeadlineExceeded), 36 }, 37 Funcs: map[string]reflect.Value{ 38 "Background": reflect.ValueOf(q.Background), 39 "TODO": reflect.ValueOf(q.TODO), 40 "WithCancel": reflect.ValueOf(q.WithCancel), 41 "WithDeadline": reflect.ValueOf(q.WithDeadline), 42 "WithTimeout": reflect.ValueOf(q.WithTimeout), 43 "WithValue": reflect.ValueOf(q.WithValue), 44 }, 45 TypedConsts: map[string]igop.TypedConst{}, 46 UntypedConsts: map[string]igop.UntypedConst{}, 47 }) 48 }