Hello! I think that making Lock/Unlock optional would be vital, for instance, if someone will wrap and lock there (wrapper). ` if pq.autoLock { pq.Lock() defer pq.Unlock() } `
Hello!
I think that making Lock/Unlock optional would be vital, for instance, if someone will wrap and lock there (wrapper).
if pq.autoLock { pq.Lock() defer pq.Unlock() }