commit | 0220f59fc3e475d46924d66f056b454496ec5828 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Oct 04 04:49:55 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Oct 11 11:19:09 2022 +0000 |
tree | 89aff0365442fc7b00281d57977fec78b5eb5c68 | |
parent | 2167b412695ea5d1b495e8f7683496e39b598b33 [diff] |
slog: handle removed built-in keys Fix commonHandler so it works correctly when all built-in keys are removed and there are preformatted attributes. In that case, we need to add a separator between the preformatted attributes and the rest. Also, generalize the test for built-in handlers. (Some features won't prove useful until scope is introduced in a later CL). Change-Id: If1fdeae34cc59da26f3d7a9bb1bb38c3ad14d366 Reviewed-on: https://go-review.googlesource.com/c/exp/+/438996 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.