From ac71e1d7538290c7355438c462604604abd85f45 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 8 Jun 2020 19:26:14 +0800 Subject: [PATCH] rename Dump to RawDump for ghttp.ClientResponse --- net/ghttp/ghttp_client_dump.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ghttp/ghttp_client_dump.go b/net/ghttp/ghttp_client_dump.go index 2e57e817b..642f3fc73 100644 --- a/net/ghttp/ghttp_client_dump.go +++ b/net/ghttp/ghttp_client_dump.go @@ -90,7 +90,7 @@ func (r *ClientResponse) Raw() string { return fmt.Sprintf("%s\n%s", r.RawRequest(), r.RawResponse()) } -// Dump outputs the raw text of the request and the response to stdout. -func (r *ClientResponse) Dump() { +// RawDump outputs the raw text of the request and the response to stdout. +func (r *ClientResponse) RawDump() { fmt.Println(r.Raw()) }