mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 20:28:17 +08:00
rename Dump to RawDump for ghttp.ClientResponse
This commit is contained in:
parent
8151b6efd6
commit
ac71e1d753
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user