Repository navigation
Releases
Releases · allisson/go-pglock
v3.2.0
What's Changed
- feat: add rwlock functionality by @masteryyh in #15
- docs: enhance documentation with emojis by @allisson in #16
New Contributors
- @masteryyh made their first contribution in #15
Full Changelog: v3.1.0...v3.2.0
v3.1.0
v3.0.0
Fix readme code
Update Locker interface
Locker interface now receives a context and the id must be pass on NewLock function.
BREAKING CHANGE: Locker interface has changed.
Include mock for Locker interface
v1.1.0 Include mock for Locker interface (#4)
Update Lock to receive a sql.Conn
This is a major version with incompatible API changes.
- Update Lock to receive a sql.Conn to avoid this https://engineering.qubecinema.com/2019/08/26/unlocking-advisory-locks.html
Add sync.Mutex on Lock struct
v0.1.1 Add sync.Mutex on Lock struct (#2)
First release
- Add Locker interface and Lock implementation.
- Update readme with code example.