github.com/goplus/gossa@v0.3.25/pkg/context/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package context 6 7 import ( 8 q "context" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.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]gossa.NamedType{ 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]gossa.TypedConst{}, 46 UntypedConsts: map[string]gossa.UntypedConst{}, 47 }) 48 }