Go 1.21
Go programming language 1.21 has been released. Main changes and improvements:
Support for optimisations based on the results of code profiling (PGO - Profile-guided optimization) has been implemented, taking into account the peculiarities determined at runtime.
Direct and backward compatibility with other versions of the Go language is provided in the go utility, which allows you to use the old toolkit to build new code and vice versa;
Built-in min and max functions for selecting the smallest/largest value and clear function for deleting or zeroing all elements in map or slice structures have been added;