ReleaseBind returns b acquired via Bind to bind pool.
(b *Bind)
| 116 | |
| 117 | // ReleaseBind returns b acquired via Bind to bind pool. |
| 118 | func ReleaseBind(b *Bind) { |
| 119 | b.release() |
| 120 | bindPool.Put(b) |
| 121 | } |
| 122 | |
| 123 | // releasePooledBinder resets a binder and returns it to its pool. |
| 124 | // It should be used with defer to ensure proper cleanup of pooled binders. |