summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorThibault Meyer <meyer.thibault@gmail.com>2016-11-11 13:11:45 +0100
committerThibault Meyer <meyer.thibault@gmail.com>2016-11-11 13:11:45 +0100
commitddee4c8b5853d876ebd45ea4e7fe56208cd30eb5 (patch)
tree754d70f15ef0ddf51147b23afee48d6e3de98e11 /models
parenta1c5f02444b5124a8a96a57769e00728e828c7fc (diff)
downloadgitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.tar.gz
gitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.zip
Normalize files with gofmt
Diffstat (limited to 'models')
-rw-r--r--models/git_diff.go4
-rw-r--r--models/issue.go2
-rw-r--r--models/pull.go6
-rw-r--r--models/repo.go8
4 files changed, 10 insertions, 10 deletions
diff --git a/models/git_diff.go b/models/git_diff.go
index 7aff1f53e1..7d4f5db7f5 100644
--- a/models/git_diff.go
+++ b/models/git_diff.go
@@ -16,13 +16,13 @@ import (
"os/exec"
"strings"
- "github.com/Unknwon/com"
+ "code.gitea.io/git"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/template/highlight"
- "code.gitea.io/git"
+ "github.com/Unknwon/com"
"github.com/sergi/go-diff/diffmatchpatch"
"golang.org/x/net/html/charset"
"golang.org/x/text/transform"
diff --git a/models/issue.go b/models/issue.go
index 67ee14cb93..16766fc6c3 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -14,9 +14,9 @@ import (
"strings"
"time"
+ api "code.gitea.io/sdk/gitea"
"github.com/Unknwon/com"
"github.com/go-xorm/xorm"
- api "code.gitea.io/sdk/gitea"
gouuid "github.com/satori/go.uuid"
"code.gitea.io/gitea/modules/base"
diff --git a/models/pull.go b/models/pull.go
index 98b9c96059..4b7034ce4d 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -11,14 +11,14 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
+ "code.gitea.io/git"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/sync"
- "github.com/go-xorm/xorm"
- "code.gitea.io/git"
api "code.gitea.io/sdk/gitea"
+ "github.com/Unknwon/com"
+ "github.com/go-xorm/xorm"
)
var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)
diff --git a/models/repo.go b/models/repo.go
index 7d976cfa7b..844fca9a3a 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -19,17 +19,17 @@ import (
"strings"
"time"
- "github.com/Unknwon/cae/zip"
- "github.com/Unknwon/com"
+ "code.gitea.io/git"
"code.gitea.io/gitea/modules/bindata"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/markdown"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/sync"
- "github.com/go-xorm/xorm"
- "code.gitea.io/git"
api "code.gitea.io/sdk/gitea"
+ "github.com/Unknwon/cae/zip"
+ "github.com/Unknwon/com"
+ "github.com/go-xorm/xorm"
version "github.com/mcuadros/go-version"
ini "gopkg.in/ini.v1"
)