How to calculate average of all numbers of array in Golang