code: func calcHaSunrise(latitude float64, sunDeclination []float64) (haSunrise []float64) {
  	for index := 0; index < len(sunDeclination); index++ {
  		temp := rad2deg(math.Acos(math.Cos(deg2rad(90.833))/(math.Cos(deg2rad(latitude))*math.Cos(deg2rad(sunDeclination[index]))) - math.Tan(deg2rad(latitude))*math.Tan(deg2rad(sunDeclination[index]))))
  		haSunrise = append(haSunrise, temp)
  	}
  	return
  }
docs: // Calculate the HaSunrise in degrees based on the formula: rad2deg(acos(cos(deg2rad(90.833))/(cos(deg2rad(latitude))*cos(deg2rad(sunDeclination)))-tan(deg2rad(latitude))*tan(deg2rad(sunDeclination))))
  // latitude - The latitude defined by the user
  // sunDeclination - The Sun Declination calculated by the calcSunDeclination function
  // Return the HaSunrise slice