Skip to content

Commit 829f78e

Browse files
committed
re-format imports
1 parent 2ecd0ec commit 829f78e

File tree

146 files changed

+162
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+162
-29
lines changed

cmd/doctor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
"code.gitea.io/gitea/modules/log"
1919
"code.gitea.io/gitea/modules/setting"
2020

21-
"xorm.io/xorm"
22-
2321
"github.com/urfave/cli"
22+
23+
"xorm.io/xorm"
2424
)
2525

2626
// CmdDoctor represents the available doctor sub-command.

cmd/dump.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"code.gitea.io/gitea/modules/util"
2222

2323
"gitea.com/go-chi/session"
24+
2425
archiver "github.com/mholt/archiver/v3"
2526
"github.com/urfave/cli"
2627
)

cmd/mailer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010

1111
"code.gitea.io/gitea/modules/private"
1212
"code.gitea.io/gitea/modules/setting"
13+
1314
"github.com/urfave/cli"
1415
)
1516

cmd/web.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ import (
99
"fmt"
1010
"net"
1111
"net/http"
12-
_ "net/http/pprof" // Used for debugging if enabled and a web server is running
1312
"os"
1413
"strings"
1514

15+
_ "net/http/pprof" // Used for debugging if enabled and a web server is running
16+
1617
"code.gitea.io/gitea/modules/graceful"
1718
"code.gitea.io/gitea/modules/log"
1819
"code.gitea.io/gitea/modules/setting"
1920
"code.gitea.io/gitea/routers"
2021
"code.gitea.io/gitea/routers/install"
2122

2223
"github.com/urfave/cli"
24+
2325
ini "gopkg.in/ini.v1"
2426
)
2527

contrib/environment-to-ini/environment-to-ini.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
"code.gitea.io/gitea/modules/util"
1616

1717
"github.com/urfave/cli"
18+
1819
ini "gopkg.in/ini.v1"
1920
)
2021

contrib/pr/checkout.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import (
3737
"github.com/go-git/go-git/v5"
3838
"github.com/go-git/go-git/v5/config"
3939
"github.com/go-git/go-git/v5/plumbing"
40+
4041
"xorm.io/xorm"
4142
)
4243

integrations/api_issue_label_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"code.gitea.io/gitea/models/unittest"
14-
1513
"code.gitea.io/gitea/models"
14+
"code.gitea.io/gitea/models/unittest"
1615
api "code.gitea.io/gitea/modules/structs"
1716

1817
"github.com/stretchr/testify/assert"

integrations/api_private_serv_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111

1212
"code.gitea.io/gitea/models"
1313
"code.gitea.io/gitea/modules/private"
14+
1415
"github.com/stretchr/testify/assert"
1516
)
1617

integrations/api_pull_commits_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"code.gitea.io/gitea/models"
1212
"code.gitea.io/gitea/models/unittest"
1313
api "code.gitea.io/gitea/modules/structs"
14+
1415
"github.com/stretchr/testify/assert"
1516
)
1617

integrations/api_repo_git_notes_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"code.gitea.io/gitea/models"
1313
"code.gitea.io/gitea/models/unittest"
1414
api "code.gitea.io/gitea/modules/structs"
15+
1516
"github.com/stretchr/testify/assert"
1617
)
1718

0 commit comments

Comments
 (0)