code: func minIndex(slice []float64) int {
  	if len(slice) == 0 {
  		return -1
  	}
  	min := slice[0]
  	minIndex := 0
  	for index := 0; index < len(slice); index++ {
  		if slice[index] < min {
  			min = slice[index]
  			minIndex = index
  		}
  	}
  	return minIndex
  }
docs: // Find the index of the minimum value