norrland opened this issue 2 years ago · 0 comments
As of go1.13, Request.NewRequest wraps NewRequestWithContext using context.Background.
This causes the request = request.WithContext(ctx) to be redundant. Use NewRequestWithContext instead.
request = request.WithContext(ctx)
NewRequestWithContext