aboutsummaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc.go')
-rw-r--r--doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc.go b/doc.go
index 19e50fc..227180a 100644
--- a/doc.go
+++ b/doc.go
@@ -9,7 +9,7 @@ Client is a Gemini client.
if err != nil {
// handle error
}
- defer resp.Close()
+ defer resp.Body.Close()
// ...
Server is a Gemini server.