commit | 5c77f4b2bbd775a85106750977b6581f50d56dd5 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Sat Oct 15 04:40:03 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Oct 18 20:58:18 2022 +0000 |
tree | b76b053ebe6cf2030854eeaf3cf4f5b20dec99a0 | |
parent | 91a90b0849f5548933f0fa0a125e0edd6d291ebc [diff] |
slog: add methods to Buffer Add the methods Reset, WriteRune, WritePosInt and WritePosIntWidth to buffer.Buffer and rewrite clients to use them. This removes some ugliness. Remove itoa and put concat in the only file it is used. Change-Id: I3321f925e514606c97480454a3efbb511416fa2b Reviewed-on: https://go-review.googlesource.com/c/exp/+/443160 Run-TryBot: Jonathan Amsterdam <jba@google.com> 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.