func PrintSpeeds(results []model.Result, output io.Writer) {
	w := tabwriter.NewWriter(output, 1, 2, 2, ' ', tabwriter.AlignRight|tabwriter.Debug)
	fmt.Fprintln(w, "Posição Chegada\tCódigo Piloto\tNome Piloto\tQtde Voltas Completadas\tTempo Total de Prova\tVelocidade média")

	for _, r := range results {
		fmt.Fprintf(w, "%v\t%s\t%s\t%v\t%s\t%g\n", r.Position, r.RunnerID, r.RunnerName, r.Laps, r.RunnerTime.Format("4:05.000"), r.Speed)
	}
	w.Flush()
}
// PrintSpeeds imprime o resultado na tela
PrintSpeeds imprime o resultado na tela
// PrintSpeeds imprime o resultado na tela
func PrintSpeeds(results []model.Result, output io.Writer) {
	w := tabwriter.NewWriter(output, 1, 2, 2, ' ', tabwriter.AlignRight|tabwriter.Debug)
	fmt.Fprintln(w, "Posição Chegada\tCódigo Piloto\tNome Piloto\tQtde Voltas Completadas\tTempo Total de Prova\tVelocidade média")
	for _, r := range results {
		fmt.Fprintf(w, "%v\t%s\t%s\t%v\t%s\t%g\n", r.Position, r.RunnerID, r.RunnerName, r.Laps, r.RunnerTime.Format("4:05.000"), r.Speed)
	}
	w.Flush()
}
func PrintSpeeds ( results [ ] model . Result , output io . Writer ) { w := tabwriter . NewWriter ( output , 1 , 2 , 2 , ' ' , tabwriter . AlignRight | tabwriter . Debug ) fmt . Fprintln ( w , " Có om td em el for _ , r := range results { fmt . Fprintf ( w , " \t \t \t \t \t \n " , r . Position , r . RunnerID , r . RunnerName , r . Laps , r . RunnerTime . Format ( " " ) , r . Speed ) } w . Flush ( ) }
PrintSpeeds imprime o resultado na tela
PrintSpeeds imprime o resultado na tela