aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorqiulaidongfeng <2645477756@qq.com>2023-07-26 05:59:50 +0000
committerGopher Robot <gobot@golang.org>2023-07-27 23:28:51 +0000
commit93ec88160ecd6da1d2bf5b9c029abf0e256484e9 (patch)
tree22ec651e0aa67587e1fdda9fcd718f669317dc2d /api
parent737a5b0eaaff9098a41c04bcee5585678766bfae (diff)
downloadgo-93ec88160ecd6da1d2bf5b9c029abf0e256484e9.tar.gz
go-93ec88160ecd6da1d2bf5b9c029abf0e256484e9.zip
reflect: deprecate PtrTo
Replace reflect.PtrTo with reflect.PointerTo. Fixes #59599 Change-Id: I49407193e2050543ef983cd637703acc682d9f51 Change-Id: I49407193e2050543ef983cd637703acc682d9f51 GitHub-Last-Rev: 7bc9ccf1dcb4b444406430b451ad4c47c6ec1be2 GitHub-Pull-Request: golang/go#61440 Reviewed-on: https://go-review.googlesource.com/c/go/+/511035 Run-TryBot: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next/59599.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/59599.txt b/api/next/59599.txt
new file mode 100644
index 0000000000..952291f323
--- /dev/null
+++ b/api/next/59599.txt
@@ -0,0 +1 @@
+pkg reflect, func PtrTo //deprecated #59599