Skip to content

Releases: allisson/go-pglock

v3.0.0

01 Aug 11:27
6e035f0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.1...v3.0.0

Fix readme code

09 Nov 14:37
00630ae
Compare
Choose a tag to compare
v2.0.1

fix: fix readme code (#7)

Update Locker interface

09 Nov 14:31
b1c7298
Compare
Choose a tag to compare

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

16 May 15:35
e65305c
Compare
Choose a tag to compare
v1.1.0

Include mock for Locker interface (#4)

Update Lock to receive a sql.Conn

13 May 02:33
39741dc
Compare
Choose a tag to compare

This is a major version with incompatible API changes.

Add sync.Mutex on Lock struct

01 May 14:45
08121a9
Compare
Choose a tag to compare
v0.1.1

Add sync.Mutex on Lock struct (#2)

First release

01 May 14:12
Compare
Choose a tag to compare
  • Add Locker interface and Lock implementation.
  • Update readme with code example.