From 51cd6f87fc5f6e6ee8dc6a6a3785b8f171f6e33c Mon Sep 17 00:00:00 2001 From: zstone12 <522089185@qq.com> Date: Tue, 28 Nov 2023 21:28:21 +0800 Subject: [PATCH] style: remove space --- client.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client.go b/client.go index ee9b9c9..9e427f0 100644 --- a/client.go +++ b/client.go @@ -175,37 +175,37 @@ func (c *Client) SetOnConnectCallback(fn ConnCallback) { c.connectedCallback = fn } -// SetMaxBufferSize set sse client MaxBufferSize +// SetMaxBufferSize set sse client MaxBufferSize func (c *Client) SetMaxBufferSize(size int) { c.maxBufferSize = size } -// SetURL set sse client url +// SetURL set sse client url func (c *Client) SetURL(url string) { c.url = url } -// SetBody set sse client request body +// SetBody set sse client request body func (c *Client) SetBody(body []byte) { c.body = body } -// SetQueryString set sse client request queryString +// SetQueryString set sse client request queryString func (c *Client) SetQueryString(queryString string) { c.queryString = queryString } -// SetContentType set sse client request ContentType +// SetContentType set sse client request ContentType func (c *Client) SetContentType(contentType []byte) { c.contentType = contentType } -// SetFormData set sse client request formData +// SetFormData set sse client request formData func (c *Client) SetFormData(formData map[string]string) { c.formData = formData } -// SetMultipartFormData set sse client request multipartFormData +// SetMultipartFormData set sse client request multipartFormData func (c *Client) SetMultipartFormData(multipartFormData map[string]string) { c.multipartFormData = multipartFormData }