leaselocker is Apache 2.0 licensed and accepts contributions via GitHub pull requests.
This document outlines the basics of contributing to leaselocker.
go get github.com/swisscom/leaselocker@v0.1.0
Check out how NetBox Operator uses leaselocker to avoid race conditions by using distributed locks: https://github.com/netbox-community/netbox-operator