How to Install golang-github-jtolds-gls-dev in Ubuntu 18.04



Install golang-github-jtolds-gls-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-jtolds-gls-dev

Description:

Goroutine local storage

The gls package implements goroutine-local storage. It is a solution to the common problem of identifying a goroutine by some kind of gouroutine id. For example, it can be used to log an HTTP request context id in every log line in the same goroutine as the incoming HTTP request.

Homepage: https://github.com/jtolds/gls

Version: 4.2.1-4

Section: universe/devel