From 67bbf2097b9490a795debfecb51b7894ea0bd589 Mon Sep 17 00:00:00 2001 From: thetnaingtn Date: Wed, 11 Oct 2023 21:11:51 +0700 Subject: [PATCH] fix: wording --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index a46f8bf..8501070 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1676,7 +1676,7 @@ When considering the channel size, we should choose 1 as a default channel size, * When a fixed number of worker goroutines send a data to a shared channel. * When using channel for rate-limiting problems. Other than the above mentioned scenarios, you should have a good reason to specify a channel size other than one for buffered channels. -A unbuffered channel can slow down the program a bit as compare to buffered channel, since the producer goroutine has to wait until the receiver goroutine ready to accept the message. +A unbuffered channel can slow down the program as compare to buffered channel, since the producer goroutine has to wait until the receiver goroutine ready to accept the message. ### Forgetting about possible side effects with string formatting (etcd data race example and deadlock) (#68)