code: func SampleMax(values []int64) int64 {
  	if 0 == len(values) {
  		return 0
  	}
  	var max int64 = math.MinInt64
  	for _, v := range values {
  		if max < v {
  			max = v
  		}
  	}
  	return max
  }
docs: // SampleMax returns the maximum value of the slice of int64.