commit | 853ea248256d89ff7815cf4ae1ce2efa8bbb6277 | [log] [tgz] |
---|---|---|
author | suntala <artichaut2023@gmail.com> | Tue Aug 08 17:21:44 2023 +0000 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Aug 09 09:44:29 2023 +0000 |
tree | 01a6a73b420c1b8d8bbcd610acce8024859b1a54 | |
parent | 050eac23e9ded5eced43eed28cc6ef4d6d900388 [diff] |
slog: update value receiver names This change unifies the naming of the receivers in the value.go file (https://github.com/golang/exp/blob/master/slog/value.go). It also fixes the discrepancy between the doc comment ("v's value") and the receiver's name for this function: https://github.com/golang/exp/blob/d63ba01acd4b5892385c4390b334ea2c89f27eb7/slog/value.go#L281-L283 Change-Id: I66651b1c4746a868d54d24675119a2e28db8af42 GitHub-Last-Rev: 424805c807166e8ddcc0090f6a2445fccb497246 GitHub-Pull-Request: golang/exp#65 Reviewed-on: https://go-review.googlesource.com/c/exp/+/516755 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: qiulaidongfeng <2645477756@qq.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.