Documentation
¶
Overview ¶
Package shims provides functions that are in "future" releases of the Go standard library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
func Clone[M ~map[K]V, K comparable, V any](m M) M
Clone is the maps.Clone function available in versions of Go >1.21
func Keys ¶
func Keys[K comparable, V any](m map[K]V) []K
Keys returns the set of leys in the map, like the maps.Keys in version of Go >=1.23
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.