func (c *Client) Get(ctx context.Context, path string) (resp *http.Response, err error) {
	req, err := http.NewRequestWithContext(ctx, "GET", path, nil)
	if err != nil {
		return nil, errors.Trace(err)
	}

	if err := c.traceRequest(req, path); err != nil {
		// No need to fail, but let user know we're
		// not tracing the client GET.
		err = errors.Annotatef(err, "setup of http client tracing failed")
		c.logger.Tracef("%s", err)
	}
	return c.Do(req)
}
// Get issues a GET to the specified URL.  It mimics the net/http Get,
// but allows for enhanced debugging.
//
// When err is nil, resp always contains a non-nil resp.Body.
// Caller should close resp.Body when done reading from it.
Get issues a GET to the specified URL.  It mimics the net/http Get,
but allows for enhanced debugging.

When err is nil, resp always contains a non-nil resp.Body.
Caller should close resp.Body when done reading from it.
// Get issues a GET to the specified URL . It mimics the net / http Get // but allows for enhanced debugging . // // When err is nil resp always contains a non - nil resp . Body . // Caller should close resp . Body when done reading from it .
func (c *Client) Get(ctx context.Context, path string) (resp *http.Response, err error) {
	req, err := http.NewRequestWithContext(ctx, "GET", path, nil)
	if err != nil {
		return nil, errors.Trace(err)
	}
	if err := c.traceRequest(req, path); err != nil {
		err = errors.Annotatef(err, "setup of http client tracing failed")
		c.logger.Tracef("%s", err)
	}
	return c.Do(req)
}
func ( c * Client ) Get ( ctx context . Context , path string ) ( resp * http . Response , err error ) { req , err := http . NewRequestWithContext ( ctx , " " , path , nil ) if err != nil { return nil , errors . Trace ( err ) } if err := c . traceRequest ( req , path ) ; err != nil { err = errors . Annotatef ( err , " " ) c . logger . Tracef ( " " , err ) } return c . Do ( req ) }
Get issues a GET to the specified URL.
Get issues a GET to the specified URL .
// No need to fail, but let user know we're // not tracing the client GET.