diff --git a/container/gqueue/gqueue_z_example_test.go b/container/gqueue/gqueue_z_example_test.go index d1d2cf08e..f76e5c2e5 100644 --- a/container/gqueue/gqueue_z_example_test.go +++ b/container/gqueue/gqueue_z_example_test.go @@ -24,8 +24,6 @@ func ExampleNew() { q.Push(i) } - fmt.Println(q.Len()) - // Close the queue in three seconds. gtimer.SetTimeout(context.Background(), time.Second*3, func(ctx context.Context) { q.Close() @@ -55,7 +53,6 @@ func ExampleNew() { } // Output: - // 10 // 0123456789 }