From f6216d378057bcf4b287090b4d7640966680c62d Mon Sep 17 00:00:00 2001 From: Ilya Chernyshov <100530752+pelenium@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:30:16 +0300 Subject: [PATCH] Update README.md (#905) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25f33b3b88..c918f11d8b 100644 --- a/README.md +++ b/README.md @@ -566,7 +566,7 @@ For direct deflate use, NewStatelessWriter and StatelessDeflate are available. S A `bufio.Writer` can of course be used to control write sizes. For example, to use a 4KB buffer: -``` +```go // replace 'ioutil.Discard' with your output. gzw, err := gzip.NewWriterLevel(ioutil.Discard, gzip.StatelessCompression) if err != nil {