go-gls - Goroutine local storage

Property Value
Distribution NetBSD 8.1
Repository NetBSD i386
Package filename go-gls-4.2.0nb18.tgz
Package name go-gls
Package version 4.2.0nb18
Package release -
Package architecture i386
Package type tgz
Category devel
Homepage https://github.com/jtolds/gls
License mit
Maintainer -
Download size 23.81 KB
Installed size 72.77 KB
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.


Package Version Architecture Repository
go-gls-4.2.0nb18.tgz 4.2.0nb18 amd64 NetBSD
go-gls - - -


Type URL
Mirror ftp.netbsd.org
Binary Package go-gls-4.2.0nb18.tgz
Source Package go-gls

Install Howto

Install go-gls tgz package:

# pkg_add go-gls

See Also

Package Description
go-go-diff-1.0.0nb10.tgz Diff, match and patch text in Go
go-gocode-20170907nb12.tgz Autocompletion daemon for Go
go-godef-0.0.20170920nb11.tgz Print where symbols are defined in Go source code
go-godirwalk-1.7.3nb11.tgz Fast directory traversal for Golang
go-godotenv-1.2.0nb11.tgz Go port of the Ruby dotenv library
go-gogs-client-0.0.20171114nb11.tgz Gogs API client in Go
go-gohtml-0.0.20150923nb14.tgz HTML formatter for Go
go-golang-lru-0.5.3nb1.tgz Golang LRU cache
go-goorgeous-0.0.20170816nb14.tgz Go org syntax parser to HTML
go-gopkgs-1.3.2nb12.tgz Tool to get the list of available Go packages
go-goptlib-1.0.0nb7.tgz Library for writing Tor pluggable transports in Go
go-goreman-0.1.1nb11.tgz Foreman clone written in Go language
go-gox-1.0.1nb3.tgz Tool for go cross compilation
go-grpc-1.15.0nb12.tgz Go language implementation of gRPC, HTTP/2 based RPC
go-hashstructure-1.0.0nb10.tgz Get hash values for arbitrary values in Go