commit | 8bd7c9d058621018a577674a41d37779e13350cd | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Jan 30 13:59:17 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Mon Jan 30 20:07:58 2023 +0000 |
tree | 941f8be14e4161f2a25d48dcbac498cafa6baba2 | |
parent | ac48d9c7dd6e99dd5466179c702b6620f0fc3aae [diff] |
slog: Value.Any should return []Attr for a group Fix a bug in whcih Value.Any() on a Group returned an implementation-specific value (a groupptr) instead of a []Attr. Also improve the switch in Value.Any: only the KindAny case is relevant for the kind type. Change-Id: Iddd32a1fb9bbc086c089c770a40375af7c46888b Reviewed-on: https://go-review.googlesource.com/c/exp/+/464099 Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Jonathan Amsterdam <jba@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.