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 https://blog.golang.org/context, which is how
Google solves all of the problems you'd perhaps consider using this package for
at scale.

Build dependencies

lang/go115 pkgtools/cwrappers

Runtime dependencies

(none)

Available binary packages

aarch64:go-gls-4.2.0nb26.tgz(NetBSD 9.0)
aarch64:go-gls-4.2.0nb29.tgz(NetBSD 9.0)
earmv7hf:go-gls-4.2.0nb29.tgz(NetBSD 8.0)
earmv7hf:go-gls-4.2.0nb21.tgz(NetBSD 8.0)
earmv7hf:go-gls-4.2.0nb23.tgz(NetBSD 8.0)
earmv7hf:go-gls-4.2.0nb26.tgz(NetBSD 8.0)
earmv7hf:go-gls-4.2.0nb29.tgz(NetBSD 9.0)
earmv7hf:go-gls-4.2.0nb21.tgz(NetBSD 9.0)
earmv7hf:go-gls-4.2.0nb23.tgz(NetBSD 9.0)
earmv7hf:go-gls-4.2.0nb26.tgz(NetBSD 9.0)
i386:go-gls-4.2.0nb23.tgz(NetBSD 8.0)
i386:go-gls-4.2.0nb26.tgz(NetBSD 8.0)
i386:go-gls-4.2.0nb29.tgz(NetBSD 8.0)
i386:go-gls-4.2.0nb23.tgz(NetBSD 9.0)
i386:go-gls-4.2.0nb26.tgz(NetBSD 9.0)
i386:go-gls-4.2.0nb29.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb29.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb29.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb30.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb26.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb26.tgz(NetBSD 8.0)
x86_64:go-gls-4.2.0nb23.tgz(NetBSD 8.0)
x86_64:go-gls-4.2.0nb23.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb26.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb29.tgz(NetBSD 9.0)
x86_64:go-gls-4.2.0nb30.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

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.


[ Go up one level | Go to top of packages tree | List all packages ]