Skip to content

Commit

Permalink
fix imports order
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaly committed Oct 5, 2021
1 parent c072d3b commit 1d899f7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"fmt"
"github.com/markbates/goth/providers/zoom"
"html/template"
"net/http"
"os"
Expand Down Expand Up @@ -69,6 +68,7 @@ import (
"github.com/markbates/goth/providers/yahoo"
"github.com/markbates/goth/providers/yammer"
"github.com/markbates/goth/providers/yandex"
"github.com/markbates/goth/providers/zoom"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion providers/zoom/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package zoom
import (
"encoding/json"
"errors"
"github.com/markbates/goth"
"strings"
"time"

"github.com/markbates/goth"
)

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

import (
"testing"

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

func Test_Implements_Session(t *testing.T) {
Expand Down
6 changes: 4 additions & 2 deletions providers/zoom/zoom.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/markbates/goth"
"golang.org/x/oauth2"
"io"
"net/http"

"golang.org/x/oauth2"

"github.com/markbates/goth"
)

var (
Expand Down
5 changes: 3 additions & 2 deletions providers/zoom/zoom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package zoom_test

import (
"fmt"
"os"
"testing"

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

func zoomProvider() *zoom.Provider {
Expand Down

0 comments on commit 1d899f7

Please sign in to comment.