client: Use present tense in documentation

This commit is contained in:
Adnan Maolood 2021-02-23 12:21:05 -05:00
parent 1080e95bb4
commit d8b5fa716a

View File

@ -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.