devel/go-gls - The NetBSD Packages Collection

Goroutine local storage

Every so often, a thread shows up on the golang-nuts asking for some form of
goroutine-local-storage, or some kind of goroutine id, or some kind of context.
There are a few valid use cases for goroutine-local-storage, one of the most
prominent being log line context. One poster was interested in being able to
log an HTTP request context id in every log line in the same goroutine as the
incoming HTTP request, without having to change every library and function call
he was interested in logging.

It is my duty to point you to, which is how
Google solves all of the problems you'd perhaps consider using this package for
at scale.

Build dependencies

lang/go116 pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 8.0earmv7hfgo-gls-4.2.0nb29.tgz
NetBSD 8.0earmv7hfgo-gls-4.2.0nb26.tgz
NetBSD 8.0earmv7hfgo-gls-4.2.0nb31.tgz
NetBSD 8.0i386go-gls-4.2.0nb26.tgz
NetBSD 8.0i386go-gls-4.2.0nb29.tgz
NetBSD 8.0i386go-gls-4.2.0nb31.tgz
NetBSD 8.0x86_64go-gls-4.2.0nb31.tgz
NetBSD 8.0x86_64go-gls-4.2.0nb26.tgz
NetBSD 9.0aarch64go-gls-4.2.0nb31.tgz
NetBSD 9.0aarch64go-gls-4.2.0nb26.tgz
NetBSD 9.0aarch64go-gls-4.2.0nb29.tgz
NetBSD 9.0earmv7hfgo-gls-4.2.0nb31.tgz
NetBSD 9.0earmv7hfgo-gls-4.2.0nb26.tgz
NetBSD 9.0earmv7hfgo-gls-4.2.0nb29.tgz
NetBSD 9.0i386go-gls-4.2.0nb26.tgz
NetBSD 9.0i386go-gls-4.2.0nb29.tgz
NetBSD 9.0i386go-gls-4.2.0nb31.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb29.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb29.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb30.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb31.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb26.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb29.tgz
NetBSD 9.0x86_64go-gls-4.2.0nb31.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.