diff --git a/example_test.go b/example_test.go index 571317e..a7dd099 100644 --- a/example_test.go +++ b/example_test.go @@ -58,8 +58,9 @@ } func ExampleBar_ProxyReader() { + // import crand "crypto/rand" + var total int64 = 1024 * 1024 * 500 - // crand is "crypto/rand" reader := io.LimitReader(crand.Reader, total) p := mpb.New()