We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cfbee commit b1a27bfCopy full SHA for b1a27bf
response_handlers.go
@@ -33,7 +33,7 @@ func getHandler(mime string) ResponseHandler {
33
return knownHandlers[mime]
34
}
35
36
-// This function assumes that the response contains JSON and unmarshals it
+// jsonHandler assumes that the response contains JSON and unmarshals it
37
// into the specified object.
38
func jsonHandler(_ string, r io.Reader, obj interface{}, strict bool) error {
39
d := json.NewDecoder(r)
0 commit comments