Skip to content

Commit

Permalink
Migrate x/net/context to standard lib context
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk committed Oct 24, 2018
1 parent 62aee22 commit e17c589
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion provider.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package goth

import (
"context"
"fmt"
"net/http"

"golang.org/x/net/context"
"golang.org/x/oauth2"
)

Expand Down
4 changes: 2 additions & 2 deletions providers/cloudfoundry/cf.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ package cloudfoundry

import (
"bytes"
"context"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"strings"

"fmt"
"github.com/markbates/goth"
"golang.org/x/net/context"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion providers/cloudfoundry/session.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package cloudfoundry

import (
"context"
"encoding/json"
"errors"
"strings"
"time"

"github.com/markbates/goth"
"golang.org/x/net/context"
"golang.org/x/oauth2"
)

Expand Down

0 comments on commit e17c589

Please sign in to comment.