Update README.md

fix return value
This commit is contained in:
zackshen
2013-08-20 18:00:32 +08:00
parent 09c5f59a24
commit cb3ebb4e22

View File

@@ -113,7 +113,7 @@ import (
) )
func main() { func main() {
targets := vegeta.NewTargets([]string{"GET http://localhost:9100/"}) targets, _ := vegeta.NewTargets([]string{"GET http://localhost:9100/"})
rate := uint64(100) // per second rate := uint64(100) // per second
duration := 4 * time.Second duration := 4 * time.Second
reporter := vegeta.NewTextReporter() reporter := vegeta.NewTextReporter()