diff options
author | Ian Lance Taylor <iant@golang.org> | 2023-07-26 11:08:03 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-07-26 21:40:38 +0000 |
commit | 598958f0f247fa24b8ed4dfcd454a1958f212666 (patch) | |
tree | 8213316f12e84cb047504d79616151f834b04ca5 /api | |
parent | 3afa5daabd6245be0c03b6e666f93835e32d7f7c (diff) | |
download | go-598958f0f247fa24b8ed4dfcd454a1958f212666.tar.gz go-598958f0f247fa24b8ed4dfcd454a1958f212666.zip |
maps: remove Keys and Values
Preserve the names in case we want them to return an iterator.
Keep the efficient runtime implementations for now,
as we will probably want them under some name, perhaps KeysSlice
and ValuesSlice.
Fixes #61538
Change-Id: I6b03010bf071fb4531cb2f967dad46425962fcb8
Reviewed-on: https://go-review.googlesource.com/c/go/+/513476
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/go1.21.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/go1.21.txt b/api/go1.21.txt index def0fa84e4..42b3075fd8 100644 --- a/api/go1.21.txt +++ b/api/go1.21.txt @@ -344,8 +344,6 @@ pkg maps, func Copy[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$3 }, $2 c pkg maps, func DeleteFunc[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, func($1, $2) bool) #57436 pkg maps, func Equal[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$3 }, $2 comparable, $3 comparable]($0, $1) bool #57436 pkg maps, func EqualFunc[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$4 }, $2 comparable, $3 interface{}, $4 interface{}]($0, $1, func($3, $4) bool) bool #57436 -pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) []$1 #57436 -pkg maps, func Values[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) []$2 #57436 pkg math/big, method (*Int) Float64() (float64, Accuracy) #56984 pkg net/http, method (*ProtocolError) Is(error) bool #41198 pkg net/http, method (*ResponseController) EnableFullDuplex() error #57786 |