From 05337973db1bb483ac603d62a55a7a5623f5cea8 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 27 Jun 2024 03:07:56 +0200 Subject: [PATCH] docs: remove reference to sync.Locker (#66) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index db0c5b2..a3479db 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![License](https://img.shields.io/badge/license-BSD_3--Clause-brightgreen.svg?style=flat)](https://github.com/gofrs/flock/blob/master/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/gofrs/flock)](https://goreportcard.com/report/github.com/gofrs/flock) -`flock` implements a thread-safe `sync.Locker` interface for file locking. +`flock` implements a thread-safe file lock. It also includes a non-blocking `TryLock()` function to allow locking without blocking execution.