Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Change pb to something more explosive.

mdakina5afe6b6f9c9
diff --git a/commands/boom.go b/commands/boom.go
index 5db4982..41edee3 100644
--- a/commands/boom.go
+++ b/commands/boom.go
@@ -55,9 +55,7 @@ type Boom struct {
func newPb(size int) (bar *pb.ProgressBar) {
bar = pb.New(size)
- bar.Current = barChar
- bar.BarStart = ""
- bar.BarEnd = ""
+ bar.Format("Bom !")
bar.Start()
return
}