Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor comments for BufferPool class
- Change the comment for `BufferPool` from "BufferPool is Pool of *bytes.Buffer" to "BufferPool represents a pool of buffers" - Change the comment for `Get()` from "Get a bytes.Buffer pointer" to "Get returns a buffer from the buffer pool. If the pool is empty, a new buffer is created and returned" - Change the comment for `Put()` from "Put a bytes.Buffer pointer to BufferPool" to "Put adds a buffer back to the pool" Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Loading branch information