go/pbar: use strings.Repeat to genenrate the bar and calculate the width
go/pbar: use strings.Repeat to genenrate the bar and calculate the width

styxyang/codelib,styxyang/codelib,styxyang/codelib,styxyang/codelib