From 750a8465f547e9f08a87612c75898d56b8ec1f88 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 17 Nov 2021 20:34:35 +0800 Subject: A better go code formatter, and now `make fmt` can run in Windows (#17684) * go build / format tools * re-format imports --- modules/repofiles/blob_test.go | 1 - modules/repofiles/content_test.go | 1 - modules/repofiles/tree_test.go | 1 - 3 files changed, 3 deletions(-) (limited to 'modules/repofiles') diff --git a/modules/repofiles/blob_test.go b/modules/repofiles/blob_test.go index c219892aec..8950c349e6 100644 --- a/modules/repofiles/blob_test.go +++ b/modules/repofiles/blob_test.go @@ -8,7 +8,6 @@ import ( "testing" "code.gitea.io/gitea/models/unittest" - api "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/test" diff --git a/modules/repofiles/content_test.go b/modules/repofiles/content_test.go index e3230698bc..f6a953fab9 100644 --- a/modules/repofiles/content_test.go +++ b/modules/repofiles/content_test.go @@ -9,7 +9,6 @@ import ( "testing" "code.gitea.io/gitea/models/unittest" - api "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/test" diff --git a/modules/repofiles/tree_test.go b/modules/repofiles/tree_test.go index 512313c43b..6917b8915b 100644 --- a/modules/repofiles/tree_test.go +++ b/modules/repofiles/tree_test.go @@ -8,7 +8,6 @@ import ( "testing" "code.gitea.io/gitea/models/unittest" - api "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/test" -- cgit v1.2.3