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