commit | 9ce248df8de5f220f7cc4fffdd6b4c3138e081d6 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sat Nov 05 11:13:16 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Nov 09 13:40:31 2022 +0000 |
tree | e3e5dc741df663042d324dfd20703290323a7054 | |
parent | 595f219a1f78636dca4b47087b6c8293aaa539c4 [diff] |
slog: use *Logger instead of Logger Using *Logger instead of Logger would seem to require allocation in logger.WithContext(ctx).LogAttrs(...) but it does not. Most other benchmarks are substantially unchanged. Change-Id: I74b04205d500507fd40dca6d48be676a32d94d0a Reviewed-on: https://go-review.googlesource.com/c/exp/+/448716 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.