diff options
-rw-r--r-- | models/git_diff_test.go | 3 | ||||
-rw-r--r-- | models/issue_indexer.go | 1 | ||||
-rw-r--r-- | models/issue_milestone_test.go | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/models/git_diff_test.go b/models/git_diff_test.go index f88e6fb610..acdae2005e 100644 --- a/models/git_diff_test.go +++ b/models/git_diff_test.go @@ -1,9 +1,10 @@ package models import ( - dmp "github.com/sergi/go-diff/diffmatchpatch" "html/template" "testing" + + dmp "github.com/sergi/go-diff/diffmatchpatch" ) func assertEqual(t *testing.T, s1 string, s2 template.HTML) { diff --git a/models/issue_indexer.go b/models/issue_indexer.go index be74bb24f2..c2cb8b429e 100644 --- a/models/issue_indexer.go +++ b/models/issue_indexer.go @@ -13,6 +13,7 @@ import ( "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/util" + "github.com/blevesearch/bleve" "github.com/blevesearch/bleve/analysis/analyzer/simple" "github.com/blevesearch/bleve/search/query" diff --git a/models/issue_milestone_test.go b/models/issue_milestone_test.go index aa4038dc6e..7926b348c3 100644 --- a/models/issue_milestone_test.go +++ b/models/issue_milestone_test.go @@ -5,13 +5,13 @@ package models import ( + "sort" "testing" + "time" api "code.gitea.io/sdk/gitea" "github.com/stretchr/testify/assert" - "sort" - "time" ) func TestMilestone_State(t *testing.T) { |