commit | 54bba9f4231b280e75ad0d2b0e8fcac09c956e49 | [log] [tgz] |
---|---|---|
author | Wei Zhang <kweizh@gmail.com> | Wed Jan 18 00:03:57 2023 +0800 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Feb 02 16:36:44 2023 +0000 |
tree | 510c0f2a42491da30689fd74a5b7bc740d15b82b | |
parent | 04ff78cf68310d2bd7044d9a2a94a2102828a2ee [diff] |
slog: fix group example panic 1. group example use *http.Request will panic when r.URL.String() 2. add Output comment in group example so that go test would check it 3. add removeTime to group example to make Output deterministic Change-Id: I51e397654068a3c93375f8c58d9103a28186553c Reviewed-on: https://go-review.googlesource.com/c/exp/+/462176 Reviewed-by: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@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.