Skip to content

Commit

Permalink
Merge pull request #479 from Jleagle/master
Browse files Browse the repository at this point in the history
techknowlogick authored Nov 5, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 2684001 + 309b7c2 commit f842162
Showing 87 changed files with 169 additions and 131 deletions.
2 changes: 1 addition & 1 deletion providers/amazon/amazon.go
Original file line number Diff line number Diff line change
@@ -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"
)
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) {
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) {
3 changes: 1 addition & 2 deletions providers/auth0/auth0.go
Original file line number Diff line number Diff line change
@@ -5,11 +5,10 @@ package auth0
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"

"fmt"

"github.com/markbates/goth"
"golang.org/x/oauth2"
)
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) {
3 changes: 1 addition & 2 deletions providers/battlenet/battlenet.go
Original file line number Diff line number Diff line change
@@ -5,11 +5,10 @@ package battlenet
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"

"fmt"

"github.com/markbates/goth"
"golang.org/x/oauth2"
)
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) {
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) {
2 changes: 1 addition & 1 deletion providers/box/box.go
Original file line number Diff line number Diff line change
@@ -4,10 +4,10 @@ package box

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

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
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) {
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) {
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) {
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) {
2 changes: 1 addition & 1 deletion providers/dailymotion/dailymotion.go
Original file line number Diff line number Diff line change
@@ -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"
)
5 changes: 3 additions & 2 deletions providers/dailymotion/session.go
Original file line number Diff line number Diff line change
@@ -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.
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) {
2 changes: 1 addition & 1 deletion providers/deezer/deezer.go
Original file line number Diff line number Diff line change
@@ -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"
)
5 changes: 3 additions & 2 deletions providers/deezer/session.go
Original file line number Diff line number Diff line change
@@ -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.
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) {
2 changes: 1 addition & 1 deletion providers/digitalocean/digitalocean.go
Original file line number Diff line number Diff line change
@@ -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"
)
5 changes: 3 additions & 2 deletions providers/discord/session.go
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions providers/dropbox/dropbox.go
Original file line number Diff line number Diff line change
@@ -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"
)
3 changes: 1 addition & 2 deletions providers/eveonline/eveonline.go
Original file line number Diff line number Diff line change
@@ -5,11 +5,10 @@ package eveonline
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"

"fmt"

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

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

"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
)
2 changes: 1 addition & 1 deletion providers/gitea/gitea.go
Original file line number Diff line number Diff line change
@@ -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"
)
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) {
2 changes: 1 addition & 1 deletion providers/gitlab/gitlab.go
Original file line number Diff line number Diff line change
@@ -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"
)
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) {
2 changes: 1 addition & 1 deletion providers/gplus/gplus.go
Original file line number Diff line number Diff line change
@@ -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"
)
Loading

0 comments on commit f842162

Please sign in to comment.