From 1cdcf8331d504bfa6d3f8ca5f6935f5b5ba9b84c Mon Sep 17 00:00:00 2001 From: lixizan Date: Fri, 17 Nov 2023 09:54:49 +0800 Subject: [PATCH] update remarks --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index f233cb8..f8e42dc 100644 --- a/config.go +++ b/config.go @@ -80,8 +80,8 @@ func WithHTTPClient(client *http.Client) Option { } } -// WithReuseBody 开启body复用; Response.Body可以被断言为BytesReadCloser, 重复调用Bytes()方法. -// Enable body reuse; Response.Body can be asserted as a BytesReadCloser, calling the Bytes() method repeatedly. +// WithReuseBody 开启Body可重复读; Response.Body可以被断言为BytesReadCloser, 调用Bytes()方法重复读取. +// Turn on Body repeatable read; Response.Body can be asserted as BytesReadCloser, call Bytes() method to repeat reads. func WithReuseBody() Option { return func(c *config) { c.ReuseBodyEnabled = true