1
0
mirror of https://github.com/tmrts/go-patterns.git synced 2024-11-28 16:06:07 +03:00

typo aquire -> acquire

This commit is contained in:
Sergey 2019-12-28 01:00:35 +03:00 committed by GitHub
parent f978e42036
commit 68149d2b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ A semaphore is a synchronization pattern/primitive that imposes mutual exclusion
package semaphore package semaphore
var ( var (
ErrNoTickets = errors.New("semaphore: could not aquire semaphore") ErrNoTickets = errors.New("semaphore: could not acquire semaphore")
ErrIllegalRelease = errors.New("semaphore: can't release the semaphore without acquiring it first") ErrIllegalRelease = errors.New("semaphore: can't release the semaphore without acquiring it first")
) )