func getProgressBar()

in report/reporter.go [81:91]


func getProgressBar(progress, total int, fill *int) string {
	barSize := 60 // length of the progress bar
	percentage := float64(progress) / float64(total)
	numberOfBars := int(percentage * float64(barSize))
	bars := ""
	for i := 0; i < numberOfBars; i++ {
		bars += "="
	}
	*fill = numberOfBars
	return bars
}