initial attempt to integrate surf http client
This commit is contained in:
@@ -33,9 +33,10 @@ to https://www.reddit.com/api/v1/access_token with the following form values:
|
||||
|
||||
package reddit
|
||||
|
||||
/*
|
||||
import (
|
||||
"context"
|
||||
"net/http"
|
||||
"github.com/enetx/http"
|
||||
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
@@ -75,3 +76,4 @@ func oauthTransport(client *Client) http.RoundTripper {
|
||||
Base: client.client.Transport,
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user