From d557ed00dfb3ff164f2f1051fc9cb3351d7267c3 Mon Sep 17 00:00:00 2001 From: Sergei Razorenov Date: Sat, 23 Sep 2023 23:08:30 +0300 Subject: [PATCH] fix interface name in comment --- semaphore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semaphore.go b/semaphore.go index f65832f..c9b56b5 100644 --- a/semaphore.go +++ b/semaphore.go @@ -8,7 +8,7 @@ type Locker interface { TryLock() bool } -// Semaphore implementation, counted lock only. Implements sync.Locker interface, thread safe. +// Semaphore implementation, counted lock only. Implements Locker interface, thread safe. type semaphore struct { ch chan struct{} }