Skip to content

Commit b1a27bf

Browse files
authored
Change function comments to start with a name (#1080)
1 parent e4cfbee commit b1a27bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

response_handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func getHandler(mime string) ResponseHandler {
3333
return knownHandlers[mime]
3434
}
3535

36-
// This function assumes that the response contains JSON and unmarshals it
36+
// jsonHandler assumes that the response contains JSON and unmarshals it
3737
// into the specified object.
3838
func jsonHandler(_ string, r io.Reader, obj interface{}, strict bool) error {
3939
d := json.NewDecoder(r)

0 commit comments

Comments
 (0)