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>
diff --git a/slog/value.go b/slog/value.go
index df9b047..3550c46 100644
--- a/slog/value.go
+++ b/slog/value.go
@@ -274,22 +274,22 @@
 	return v.bool()
 }
 
-func (a Value) bool() bool {
-	return a.num == 1
+func (v Value) bool() bool {
+	return v.num == 1
 }
 
 // Duration returns v's value as a time.Duration. It panics
 // if v is not a time.Duration.
-func (a Value) Duration() time.Duration {
-	if g, w := a.Kind(), KindDuration; g != w {
+func (v Value) Duration() time.Duration {
+	if g, w := v.Kind(), KindDuration; g != w {
 		panic(fmt.Sprintf("Value kind is %s, not %s", g, w))
 	}
 
-	return a.duration()
+	return v.duration()
 }
 
-func (a Value) duration() time.Duration {
-	return time.Duration(int64(a.num))
+func (v Value) duration() time.Duration {
+	return time.Duration(int64(v.num))
 }
 
 // Float64 returns v's value as a float64. It panics
@@ -302,8 +302,8 @@
 	return v.float()
 }
 
-func (a Value) float() float64 {
-	return math.Float64frombits(a.num)
+func (v Value) float() float64 {
+	return math.Float64frombits(v.num)
 }
 
 // Time returns v's value as a time.Time. It panics