aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2021-02-23 12:21:05 -0500
committerAdnan Maolood <[email protected]>2021-02-23 12:21:05 -0500
commitd8b5fa716a0d6f06d5fda67f32ba741bfa999759 (patch)
tree25be061b9938e4ed196b3a88ec3f813857701e1f /client.go
parentserver: Document use of context in ListenAndServe (diff)
downloadgo-gemini-d8b5fa716a0d6f06d5fda67f32ba741bfa999759.tar.xz
go-gemini-d8b5fa716a0d6f06d5fda67f32ba741bfa999759.zip
client: Use present tense in documentation
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index 4656d74..4f606c3 100644
--- a/client.go
+++ b/client.go
@@ -30,7 +30,7 @@ type Client struct {
// Get sends a Gemini request for the given URL.
// If the provided context is canceled or times out, the request
-// will be aborted and the context's error will be returned.
+// is aborted and the context's error is returned.
//
// An error is returned if there was a Gemini protocol error.
// A non-2x status code doesn't cause an error.
@@ -49,7 +49,7 @@ func (c *Client) Get(ctx context.Context, url string) (*Response, error) {
// Do sends a Gemini request and returns a Gemini response.
// If the provided context is canceled or times out, the request
-// will be aborted and the context's error will be returned.
+// is aborted and the context's error is returned.
//
// An error is returned if there was a Gemini protocol error.
// A non-2x status code doesn't cause an error.