commit | 669c812ba5075a6084ace804812988d7a88bd250 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Sep 20 23:17:13 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Sep 21 16:39:23 2022 +0000 |
tree | a7c44f2dd62a521badb1e1ef3696e8696324b234 | |
parent | 46d9e7742f1ec8239841d61597d0c6ca93b0e0a4 [diff] |
slog: improve handler test Write output to a string instead of a map. It's more accurate (e.g. order matters) and closer to a real handler. Change-Id: Ia410ff0dd99bb93db39a6954f7ffd1c5709555cc Reviewed-on: https://go-review.googlesource.com/c/exp/+/432182 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com>
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.