What contract does the callback parameter transformer func(int) int establish?
transformer func(int) int
Any function signature is accepted at runtime.
The callback must accept and return an entire integer slice.
The callback accepts two integers and returns nothing.
The callback accepts one integer and returns one transformed integer.