github.com/goplus/gossa@v0.3.25/pkg/sync/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package sync 6 7 import ( 8 q "sync" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "sync", 18 Path: "sync", 19 Deps: map[string]string{ 20 "internal/race": "race", 21 "runtime": "runtime", 22 "sync/atomic": "atomic", 23 "unsafe": "unsafe", 24 }, 25 Interfaces: map[string]reflect.Type{ 26 "Locker": reflect.TypeOf((*q.Locker)(nil)).Elem(), 27 }, 28 NamedTypes: map[string]gossa.NamedType{ 29 "Cond": {reflect.TypeOf((*q.Cond)(nil)).Elem(), "", "Broadcast,Signal,Wait"}, 30 "Map": {reflect.TypeOf((*q.Map)(nil)).Elem(), "", "Delete,Load,LoadAndDelete,LoadOrStore,Range,Store,dirtyLocked,missLocked"}, 31 "Mutex": {reflect.TypeOf((*q.Mutex)(nil)).Elem(), "", "Lock,Unlock,lockSlow,unlockSlow"}, 32 "Once": {reflect.TypeOf((*q.Once)(nil)).Elem(), "", "Do,doSlow"}, 33 "Pool": {reflect.TypeOf((*q.Pool)(nil)).Elem(), "", "Get,Put,getSlow,pin,pinSlow"}, 34 "RWMutex": {reflect.TypeOf((*q.RWMutex)(nil)).Elem(), "", "Lock,RLock,RLocker,RUnlock,Unlock,rUnlockSlow"}, 35 "WaitGroup": {reflect.TypeOf((*q.WaitGroup)(nil)).Elem(), "", "Add,Done,Wait,state"}, 36 }, 37 AliasTypes: map[string]reflect.Type{}, 38 Vars: map[string]reflect.Value{}, 39 Funcs: map[string]reflect.Value{ 40 "NewCond": reflect.ValueOf(q.NewCond), 41 }, 42 TypedConsts: map[string]gossa.TypedConst{}, 43 UntypedConsts: map[string]gossa.UntypedConst{}, 44 }) 45 }