Skip to content

Commit

Permalink
Merge pull request #247 from sapk-fork/use-std-context
Browse files Browse the repository at this point in the history
Migrate x/net/context to standard lib context
  • Loading branch information
bentranter authored Oct 25, 2018
2 parents 62aee22 + e17c589 commit bc6d8dd
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 bc6d8dd

Please sign in to comment.