Constraints
The new pre-declared identifier any is an alias for the empty interface. Can be used instead of interface{}.
The new pre-declared identifier comparable is an interface that denotes the set of all types that can be compared using == or !=. It can only be used as (or incorporated into) a type constraint.
The following packages with contraints and useful functions for generics were added as well: