From a4fa889ceda9b6718d82b5aca04ed6bbb9883e00 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Fri, 4 Nov 2016 12:57:27 +0100 Subject: [PATCH] Run goimports on the whole project (#34) Signed-off-by: Matthias Loibl --- models/repo_test.go | 4 ++-- modules/markdown/markdown_test.go | 6 +++--- modules/setting/setting.go | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/models/repo_test.go b/models/repo_test.go index 9ab27ba61..954f4db3b 100644 --- a/models/repo_test.go +++ b/models/repo_test.go @@ -1,11 +1,11 @@ package models_test import ( - . "github.com/go-gitea/gitea/models" - . "github.com/smartystreets/goconvey/convey" "testing" + . "github.com/go-gitea/gitea/models" "github.com/go-gitea/gitea/modules/markdown" + . "github.com/smartystreets/goconvey/convey" ) func TestRepo(t *testing.T) { diff --git a/modules/markdown/markdown_test.go b/modules/markdown/markdown_test.go index 9de8f11dc..0246e2a7e 100644 --- a/modules/markdown/markdown_test.go +++ b/modules/markdown/markdown_test.go @@ -1,13 +1,13 @@ package markdown_test import ( - . "github.com/go-gitea/gitea/modules/markdown" - . "github.com/smartystreets/goconvey/convey" + "bytes" "testing" - "bytes" + . "github.com/go-gitea/gitea/modules/markdown" "github.com/go-gitea/gitea/modules/setting" "github.com/russross/blackfriday" + . "github.com/smartystreets/goconvey/convey" ) func TestMarkdown(t *testing.T) { diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 102d758dd..c2e4f43a1 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -22,8 +22,8 @@ import ( _ "github.com/go-macaron/cache/redis" "github.com/go-macaron/session" _ "github.com/go-macaron/session/redis" - "strk.kbt.io/projects/go/libravatar" "gopkg.in/ini.v1" + "strk.kbt.io/projects/go/libravatar" "github.com/go-gitea/gitea/modules/bindata" "github.com/go-gitea/gitea/modules/log"