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{} }