Skip to content

Commit bc6d8dd

Browse files
authored
Merge pull request #247 from sapk-fork/use-std-context
Migrate x/net/context to standard lib context
2 parents 62aee22 + e17c589 commit bc6d8dd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package goth
22

33
import (
4+
"context"
45
"fmt"
56
"net/http"
67

7-
"golang.org/x/net/context"
88
"golang.org/x/oauth2"
99
)
1010

providers/cloudfoundry/cf.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ package cloudfoundry
44

55
import (
66
"bytes"
7+
"context"
78
"encoding/json"
9+
"fmt"
810
"io"
911
"io/ioutil"
1012
"net/http"
1113
"strings"
1214

13-
"fmt"
1415
"github.com/markbates/goth"
15-
"golang.org/x/net/context"
1616
"golang.org/x/oauth2"
1717
)
1818

providers/cloudfoundry/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package cloudfoundry
22

33
import (
4+
"context"
45
"encoding/json"
56
"errors"
67
"strings"
78
"time"
89

910
"github.com/markbates/goth"
10-
"golang.org/x/net/context"
1111
"golang.org/x/oauth2"
1212
)
1313

0 commit comments

Comments
 (0)