func New(total float64) *Bar {
	b := &Bar{
		StartDelimiter: "|",
		EndDelimiter:   "|",
		Filled:         "█",
		Empty:          "░",
		Total:          total,
		Width:          60,
	}
	b.Template(`{{.Percent | printf "%3.0f"}}% {{.Bar}} {{.Text}}`)
	return b
}
New returns a new bar with the given total.
package progress
import (
	"bytes"
	"fmt"
	"html/template"
	"io"
	"math"
	"strings"
)
type Bar struct {
	StartDelimiter string   
	EndDelimiter   string   
	Filled         string   
	Empty          string   
	Total          float64  
	Width          int      
	value float64
	tmpl  *template.Template
	text  string
}