diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 12:21:05 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 12:21:05 -0500 |
| commit | d8b5fa716a0d6f06d5fda67f32ba741bfa999759 (patch) | |
| tree | 25be061b9938e4ed196b3a88ec3f813857701e1f /client.go | |
| parent | server: Document use of context in ListenAndServe (diff) | |
| download | go-gemini-d8b5fa716a0d6f06d5fda67f32ba741bfa999759.tar.xz go-gemini-d8b5fa716a0d6f06d5fda67f32ba741bfa999759.zip | |
client: Use present tense in documentation
Diffstat (limited to 'client.go')
| -rw-r--r-- | client.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |