summaryrefslogtreecommitdiffstats
path: root/models/git_diff.go
diff options
context:
space:
mode:
authorMatthias Loibl <mail@matthiasloibl.com>2016-11-05 17:56:35 +0100
committerMatthias Loibl <mail@matthiasloibl.com>2016-11-05 17:56:35 +0100
commit1f44b01e2a21b0e715dfd2ccad4574433c8775c3 (patch)
tree95959543a495b95b943dfeecad17668ea76dd6b2 /models/git_diff.go
parent91b589f2f0fb93f9f9882426c43c363276d2235a (diff)
downloadgitea-1f44b01e2a21b0e715dfd2ccad4574433c8775c3.tar.gz
gitea-1f44b01e2a21b0e715dfd2ccad4574433c8775c3.zip
Fix imports found by goimports.
Diffstat (limited to 'models/git_diff.go')
-rw-r--r--models/git_diff.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/models/git_diff.go b/models/git_diff.go
index e3d5df2648..d5a6cf7daa 100644
--- a/models/git_diff.go
+++ b/models/git_diff.go
@@ -17,17 +17,15 @@ import (
"strings"
"github.com/Unknwon/com"
- "github.com/sergi/go-diff/diffmatchpatch"
- "golang.org/x/net/html/charset"
- "golang.org/x/text/transform"
-
- "github.com/gogits/git-module"
-
"github.com/go-gitea/gitea/modules/base"
"github.com/go-gitea/gitea/modules/log"
"github.com/go-gitea/gitea/modules/process"
"github.com/go-gitea/gitea/modules/setting"
"github.com/go-gitea/gitea/modules/template/highlight"
+ git "github.com/gogits/git-module"
+ "github.com/sergi/go-diff/diffmatchpatch"
+ "golang.org/x/net/html/charset"
+ "golang.org/x/text/transform"
)
type DiffLineType uint8