From 09c3cfbc208fbd3ee8a06885e7efa53cdd56be7a Mon Sep 17 00:00:00 2001 From: Emmanuel T Odeke Date: Wed, 18 Feb 2026 17:03:37 -0500 Subject: net/url: add (*URL).Clone This change adds URL.Clone which creates a deep copy of the URL's fields including the .User and tests these. In a separate CL I shall send Values.Clone too. Updates #73450 Change-Id: Ifea4bfc4ddd0640247544ec111ec83bd9bbe9104 Reviewed-on: https://go-review.googlesource.com/c/go/+/746800 Reviewed-by: Nicholas Husin Auto-Submit: Emmanuel Odeke Reviewed-by: Damien Neil Reviewed-by: Nicholas Husin LUCI-TryBot-Result: Go LUCI Auto-Submit: Damien Neil --- api/next/73450.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 api/next/73450.txt (limited to 'api') diff --git a/api/next/73450.txt b/api/next/73450.txt new file mode 100644 index 0000000000..c4b2dc2536 --- /dev/null +++ b/api/next/73450.txt @@ -0,0 +1 @@ +pkg net/url, method (*URL) Clone() *URL #73450 -- cgit v1.3