main
client.do
func (c *client) do(ctx context.Context, req *request) error { resp, err := c.httpClient.Do(req.req) if err != nil { return fmt.Errorf("failed to send request: %w", err) }