equal
deleted
inserted
replaced
3 // license that can be found in the LICENSE file. |
3 // license that can be found in the LICENSE file. |
4 |
4 |
5 package internal |
5 package internal |
6 |
6 |
7 import ( |
7 import ( |
|
8 "context" |
8 "net/http" |
9 "net/http" |
9 |
|
10 "golang.org/x/net/context" |
|
11 ) |
10 ) |
12 |
11 |
13 // HTTPClient is the context key to use with golang.org/x/net/context's |
12 // HTTPClient is the context key to use with golang.org/x/net/context's |
14 // WithValue function to associate an *http.Client value with a context. |
13 // WithValue function to associate an *http.Client value with a context. |
15 var HTTPClient ContextKey |
14 var HTTPClient ContextKey |