rename Dump to RawDump for ghttp.ClientResponse

This commit is contained in:
John 2020-06-08 19:26:14 +08:00
parent 8151b6efd6
commit ac71e1d753

View File

@ -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())
}