Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/amazon/amazon.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package amazon
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
5 changes: 3 additions & 2 deletions providers/amazon/amazon_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package amazon_test

import (
"os"
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/amazon"
"github.com/stretchr/testify/assert"
"os"
"testing"
)

func Test_New(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion providers/amazon/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package amazon_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/amazon"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions providers/auth0/auth0.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ package auth0
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"

"fmt"

"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
3 changes: 2 additions & 1 deletion providers/auth0/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package auth0_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/auth0"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions providers/battlenet/battlenet.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ package battlenet
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"

"fmt"

"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
5 changes: 3 additions & 2 deletions providers/battlenet/battlenet_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package battlenet_test

import (
"os"
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/battlenet"
"github.com/stretchr/testify/assert"
"os"
"testing"
)

func Test_New(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion providers/battlenet/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package battlenet_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/battlenet"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion providers/box/box.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ package box

import (
"encoding/json"
"fmt"
"io"
"net/http"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
5 changes: 3 additions & 2 deletions providers/box/box_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package box_test

import (
"os"
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/box"
"github.com/stretchr/testify/assert"
"os"
"testing"
)

func Test_New(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion providers/box/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package box_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/box"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions providers/cloudfoundry/cf_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package cloudfoundry_test

import (
"os"
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/cloudfoundry"
"github.com/stretchr/testify/assert"
"os"
"testing"
)

func Test_New(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion providers/cloudfoundry/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package cloudfoundry_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/cloudfoundry"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion providers/dailymotion/dailymotion.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package dailymotion
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
5 changes: 3 additions & 2 deletions providers/dailymotion/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package dailymotion
import (
"encoding/json"
"errors"
"github.com/markbates/goth"
"golang.org/x/oauth2"
"strings"
"time"

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

// Session stores data during the auth process with Dailymotion.
Expand Down
3 changes: 2 additions & 1 deletion providers/dailymotion/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package dailymotion_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/dailymotion"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion providers/deezer/deezer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
5 changes: 3 additions & 2 deletions providers/deezer/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package deezer
import (
"encoding/json"
"errors"
"github.com/markbates/goth"
"golang.org/x/oauth2"
"strings"
"time"

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

// Session stores data during the auth process with Deezer.
Expand Down
3 changes: 2 additions & 1 deletion providers/deezer/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package deezer_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/deezer"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion providers/digitalocean/digitalocean.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package digitalocean
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
5 changes: 3 additions & 2 deletions providers/discord/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package discord
import (
"encoding/json"
"errors"
"github.com/markbates/goth"
"golang.org/x/oauth2"
"strings"
"time"

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

// Session stores data during the auth process with Discord
Expand Down
3 changes: 1 addition & 2 deletions providers/dropbox/dropbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"net/http"
"strings"

"fmt"

"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
3 changes: 1 addition & 2 deletions providers/eveonline/eveonline.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ package eveonline
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"

"fmt"

"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
2 changes: 1 addition & 1 deletion providers/fitbit/fitbit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ package fitbit

import (
"encoding/json"
"fmt"
"io"
"net/http"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
2 changes: 1 addition & 1 deletion providers/gitea/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ package gitea
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"strconv"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
3 changes: 2 additions & 1 deletion providers/gitea/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package gitea_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/gitea"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion providers/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ package gitlab
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"strconv"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
3 changes: 2 additions & 1 deletion providers/gitlab/session_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package gitlab_test

import (
"testing"

"github.com/markbates/goth"
"github.com/markbates/goth/providers/gitlab"
"github.com/stretchr/testify/assert"
"testing"
)

func Test_Implements_Session(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion providers/gplus/gplus.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ package gplus
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"strings"

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
Expand Down
Loading