Uninitialized max variable in slice

Code reviewMedium20 min

Your task

Review this Go function that returns the maximum of a slice.