While golang got generics in 1.18, the standard library was lagging behind in implementations.
Example: package slices does not even exist before version 1.21. It contains such functions as generic Max, Min, Sort, BinarySearch, ...
Golang 1.19 vs golang 1.21 library is like comparing C and C++ libraries.
Thank you for your hard work MikeMirzayanov.