commit | 6987308262ffc9b95704349b7c16320996e812af | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sun Nov 06 07:00:58 2022 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Mon Nov 14 17:21:43 2022 +0000 |
tree | ded4e6de5ce105f109f95f6f2f357dac2fa09e96 | |
parent | 129d8d6c17abbf96ef6b7ef8da3ce10391c6a37c [diff] |
slog: make Info case in Level.String match the others Since InfoLevel == 0, the code was correct. But adding "- InfoLevel" makes it more obviously so. Change-Id: I6b222fbae2bcc04d5e54a7319796c5e9347cf55d Reviewed-on: https://go-review.googlesource.com/c/exp/+/447964 Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@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.