commit | 6ab00d035af921c4ba31b84fb70e1171454bbd9d | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Mon Nov 21 09:47:11 2022 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Sat Nov 26 15:09:42 2022 +0000 |
tree | 9b2d0bba3a7b23d8873ac351688aaf636b2c2c48 | |
parent | 0c4bbce2e9e63ae96cf8a4706b59d35fd784e3a9 [diff] |
slog: define the ErrorKey constant Define a constant for the key used for errors. Change-Id: I54360f77460c82e62214c82f8a0942d2383f26a1 Reviewed-on: https://go-review.googlesource.com/c/exp/+/451293 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.