summaryrefslogtreecommitdiffstats
path: root/modules/auth/oauth2
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-03-03 16:21:31 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-03 16:21:31 +0800
commit28a5bc313a36d761a020ee26f1e011f91f36cbb2 (patch)
treed43a11513bd568ef5faa8446447f81eaf482e4f0 /modules/auth/oauth2
parent6bdfadf4a9a2f7c8082560381d28b3005efbf883 (diff)
downloadgitea-28a5bc313a36d761a020ee26f1e011f91f36cbb2.tar.gz
gitea-28a5bc313a36d761a020ee26f1e011f91f36cbb2.zip
fix: gofmt errors. (#1106)
Diffstat (limited to 'modules/auth/oauth2')
-rw-r--r--modules/auth/oauth2/oauth2.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/auth/oauth2/oauth2.go b/modules/auth/oauth2/oauth2.go
index bf486d5a0b..ca4cde73b6 100644
--- a/modules/auth/oauth2/oauth2.go
+++ b/modules/auth/oauth2/oauth2.go
@@ -5,16 +5,18 @@
package oauth2
import (
- "code.gitea.io/gitea/modules/setting"
+ "net/http"
+ "os"
+ "path/filepath"
+
"code.gitea.io/gitea/modules/log"
+ "code.gitea.io/gitea/modules/setting"
+
"github.com/gorilla/sessions"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
- "net/http"
- "os"
- "github.com/satori/go.uuid"
- "path/filepath"
"github.com/markbates/goth/providers/github"
+ "github.com/satori/go.uuid"
)
var (