Install golang-github-juju-mutex-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-juju-mutex-dev
Description:
named machine level mutex shareable between processes
package mutex provides a named machine level mutex shareable between processes. . Mutexes have names. Each each name, only one mutex for that name can be acquired at the same time, within and across process boundaries. If a process dies while the mutex is held, the mutex is automatically released.
Homepage: https://github.com/juju/mutex
Version: 0.0~git20171110.1fe2a4b-3
Section: universe/devel