github.com/goplus/igop@v0.25.0/pkg/sync/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 && !go1.21 4 // +build go1.20,!go1.21 5 6 package sync 7 8 import ( 9 q "sync" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "sync", 19 Path: "sync", 20 Deps: map[string]string{ 21 "internal/race": "race", 22 "runtime": "runtime", 23 "sync/atomic": "atomic", 24 "unsafe": "unsafe", 25 }, 26 Interfaces: map[string]reflect.Type{ 27 "Locker": reflect.TypeOf((*q.Locker)(nil)).Elem(), 28 }, 29 NamedTypes: map[string]reflect.Type{ 30 "Cond": reflect.TypeOf((*q.Cond)(nil)).Elem(), 31 "Map": reflect.TypeOf((*q.Map)(nil)).Elem(), 32 "Mutex": reflect.TypeOf((*q.Mutex)(nil)).Elem(), 33 "Once": reflect.TypeOf((*q.Once)(nil)).Elem(), 34 "Pool": reflect.TypeOf((*q.Pool)(nil)).Elem(), 35 "RWMutex": reflect.TypeOf((*q.RWMutex)(nil)).Elem(), 36 "WaitGroup": reflect.TypeOf((*q.WaitGroup)(nil)).Elem(), 37 }, 38 AliasTypes: map[string]reflect.Type{}, 39 Vars: map[string]reflect.Value{}, 40 Funcs: map[string]reflect.Value{ 41 "NewCond": reflect.ValueOf(q.NewCond), 42 }, 43 TypedConsts: map[string]igop.TypedConst{}, 44 UntypedConsts: map[string]igop.UntypedConst{}, 45 }) 46 }