diff --git a/doc/go1.18.html b/doc/go1.18.html index 193ee16fb6..5692a068ab 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -447,7 +447,15 @@ proposal.
- TODO: https://golang.org/cl/352131: add Value.{CanInt, CanUint, CanFloat, CanComplex}
+ A number of methods (
+ Value.CanInt,
+ Value.CanUint,
+ Value.CanFloat,
+ Value.CanComplex
+ )
+ have been added to
+ Value
+ to test if a conversion is safe.