From a088e230d4e7892b15851babe161bbd1766738a1 Mon Sep 17 00:00:00 2001 From: Michael Anthony Knyszek Date: Thu, 4 Apr 2024 04:51:24 +0000 Subject: unique: add unique package and implement Make/Handle This change adds the unique package for canonicalizing values, as described by the proposal in #62483. Fixes #62483. Change-Id: I1dc3d34ec12351cb4dc3838a8ea29a5368d59e99 Reviewed-on: https://go-review.googlesource.com/c/go/+/574355 LUCI-TryBot-Result: Go LUCI Reviewed-by: Ingo Oeser Reviewed-by: David Chase --- api/next/62483.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 api/next/62483.txt (limited to 'api') diff --git a/api/next/62483.txt b/api/next/62483.txt new file mode 100644 index 0000000000..11b8ff6fd9 --- /dev/null +++ b/api/next/62483.txt @@ -0,0 +1,3 @@ +pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483 +pkg unique, method (Handle[$0]) Value() $0 #62483 +pkg unique, type Handle[$0 comparable] struct #62483 -- cgit v1.2.3-54-g00ecf