Changes in new versions / Go 1.21
Built-in min and max
Built-in clear for maps and slices
The slices package: Sort and Contains
slices.Index and slices.Reverse
maps.Equal and maps.Clone
maps.DeleteFunc removes entries by predicate
maps.DeleteFunc removes entries by predicate
This example is in the full version, available in the app stores:
Golang Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account