Link
# Go 1.21 released
New min, max, and clear functions, slog package for structured logging, slices and maps, packages and other additions and improvements.
Go 1.22 will probably change the semantics of for loop variable capturing to a more reasonable one, and 1.21 provides a way to test your programs for this change.