Don't loop the example forever

This commit is contained in:
Asim 2015-11-28 20:08:41 +00:00
parent 69ee0e4738
commit 6177bc2313

View File

@ -121,11 +121,6 @@ func stream() {
func main() { func main() {
cmd.Init() cmd.Init()
// client.DefaultClient = client.NewClient(
// client.Codec("application/pb", pb.Codec),
// client.ContentType("application/pb"),
// )
for {
fmt.Println("\n--- Call example ---\n") fmt.Println("\n--- Call example ---\n")
for i := 0; i < 10; i++ { for i := 0; i < 10; i++ {
call(i) call(i)
@ -151,6 +146,4 @@ func main() {
) )
call(1) call(1)
time.Sleep(time.Millisecond * 100)
}
} }