commit | 63495473cbbcbcc524aad9c0ca701461a98e2ede | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sat Nov 19 10:30:16 2022 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Sat Nov 26 14:59:21 2022 +0000 |
tree | 4c1c77d1b3b2ec30e91e27fc39021839ff5cfc6d | |
parent | 850992195362f2f0edc3aa1fe8554761efa83de4 [diff] |
slog: fix AnyValue bugs When passed a Value, AnyValue should return it, instead of making a Value that contains another Value. Also, add missing case for uint, caught by the new test. Change-Id: I67411c109aba7a4e08eda7b3547c8eded34e926f Reviewed-on: https://go-review.googlesource.com/c/exp/+/451291 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.