commit | c79614ebc70f6497bd7bdb23395ada2bc1117161 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Sep 09 09:04:17 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Sep 09 14:53:03 2022 +0000 |
tree | 8d4b251bfdf2377050c8644fcd5303a10482945e | |
parent | 3746e5563d0549a1d4025dcb43b048254cb2ec8a [diff] |
slog: accept UTC times and Windows drive letters The regexp that matches the current time in tests now accepts a "Z" timezone designator. Previously it assumed that the timezone was formatted as an offset from UTC. The regexp that matched a source pathname now accepts an optional intial drive letter and colon, for Windows compatibility. Change-Id: I17dfae16e08cae0291abe90216ed25c61750dffb Reviewed-on: https://go-review.googlesource.com/c/exp/+/429836 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.