How to Install golang-github-nebulouslabs-demotemutex-dev in Ubuntu 18.04



Install golang-github-nebulouslabs-demotemutex-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-nebulouslabs-demotemutex-dev

Description:

Allow an RWMutex writelock to be demoted to a readlock.

This package provides an extension to sync.Mutex that allows a writelock to be demoted to a readlock without releasing control to other writelocks.

Homepage: https://github.com/nebulouslabs/demotemutex

Version: 0.0~git20151003.0.235395f-1

Section: universe/devel