aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorEmmanuel T Odeke <emmanuel@orijtech.com>2026-02-18 18:12:01 -0500
committerGopher Robot <gobot@golang.org>2026-03-06 10:48:32 -0800
commit0359353574980629e42c73f7ed54397f7fdff321 (patch)
tree8ad00198df175f4bdbf74a60f5398a0cceefc96f /api
parent6c083034f82ddb2a91d3fbe0f96e39f1ecd194d8 (diff)
downloadgo-0359353574980629e42c73f7ed54397f7fdff321.tar.xz
net/url: add Values.Clone
This change implements a method Clone on Values that creates a deep copy of all of the subject's consistent values. CL 746800 added URL.Clone and this one therefore closes out the feature. Fixes #73450 Change-Id: I6fb95091c856e43063ab641c03034e1faaff8ed6 Reviewed-on: https://go-review.googlesource.com/c/go/+/746801 Reviewed-by: Nicholas Husin <husin@google.com> Reviewed-by: Sean Liao <sean@liao.dev> Auto-Submit: Emmanuel Odeke <emmanuel@orijtech.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Nicholas Husin <nsh@golang.org>
Diffstat (limited to 'api')
-rw-r--r--api/next/73450.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/73450.txt b/api/next/73450.txt
index c4b2dc2536..4f3b65d2da 100644
--- a/api/next/73450.txt
+++ b/api/next/73450.txt
@@ -1 +1,2 @@
pkg net/url, method (*URL) Clone() *URL #73450
+pkg net/url, method (Values) Clone() Values #73450