Last active
April 24, 2019 03:51
-
-
Save farhany/bd3b3d15f32e100fd2daf0c4898eb610 to your computer and use it in GitHub Desktop.
httputil.DumpResponse use in Go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res, err := c.httpClient.Do(req) | |
dump, _ := httputil.DumpResponse(res, true) | |
fmt.Printf("DUMP: %q\n", dump) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment