package
Version:
v0.0.0-...-b271b0b
Opens a new window with list of versions in this module.
Published: Mar 18, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 66
Opens a new window with list of known importers.
Documentation
¶
Package semaphore implements a channel-based semaphore.
type Semaphore chan struct{}
Semaphore channel.
Run `fn` in a goroutine, acquiring then releasing after its return.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.