Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format imports #479

Merged
merged 1 commit into from Nov 5, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/amazon/amazon.go
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
@@ -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
@@ -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
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
@@ -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
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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
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
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
@@ -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
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
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
@@ -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
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
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
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
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
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
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
@@ -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
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
@@ -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
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