Skip to content

Commit a08b851

Browse files
committed
fix fmt
1 parent 5492ee8 commit a08b851

18 files changed

+19
-19
lines changed

models/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"code.gitea.io/gitea/modules/util"
2020

2121
"github.com/Unknwon/com"
22-
"xorm.io/builder"
2322
"github.com/go-xorm/xorm"
23+
"xorm.io/builder"
2424
)
2525

2626
// Issue represents an issue or pull request of repository.

models/issue_comment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"code.gitea.io/gitea/modules/markup/markdown"
1616
"code.gitea.io/gitea/modules/setting"
1717
"github.com/Unknwon/com"
18-
"xorm.io/builder"
1918
"github.com/go-xorm/xorm"
19+
"xorm.io/builder"
2020

2121
api "code.gitea.io/gitea/modules/structs"
2222

models/issue_reaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"code.gitea.io/gitea/modules/setting"
1212
"code.gitea.io/gitea/modules/util"
1313

14-
"xorm.io/builder"
1514
"github.com/go-xorm/xorm"
15+
"xorm.io/builder"
1616
)
1717

1818
// Reaction represents a reactions on issues and comments.

models/issue_tracked_time.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"code.gitea.io/gitea/modules/setting"
1111
api "code.gitea.io/gitea/modules/structs"
1212

13-
"xorm.io/builder"
1413
"github.com/go-xorm/xorm"
14+
"xorm.io/builder"
1515
)
1616

1717
// TrackedTime represents a time that was spent for a specific issue.

models/login_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"strings"
1616

1717
"github.com/Unknwon/com"
18-
"xorm.io/core"
1918
"github.com/go-xorm/xorm"
19+
"xorm.io/core"
2020

2121
"code.gitea.io/gitea/modules/auth/ldap"
2222
"code.gitea.io/gitea/modules/auth/oauth2"

models/migrations/v31.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"fmt"
99
"time"
1010

11-
"xorm.io/core"
1211
"github.com/go-xorm/xorm"
12+
"xorm.io/core"
1313
)
1414

1515
func addLoginSourceSyncEnabledColumn(x *xorm.Engine) error {

models/migrations/v38.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
"code.gitea.io/gitea/models"
1111

12-
"xorm.io/core"
1312
"github.com/go-xorm/xorm"
13+
"xorm.io/core"
1414
)
1515

1616
func removeCommitsUnitType(x *xorm.Engine) (err error) {

models/migrations/v75.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
package migrations
66

77
import (
8-
"xorm.io/builder"
98
"github.com/go-xorm/xorm"
9+
"xorm.io/builder"
1010
)
1111

1212
func clearNonusedData(x *xorm.Engine) error {

models/migrations/v78.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"code.gitea.io/gitea/models"
1111
"code.gitea.io/gitea/modules/log"
1212

13-
"xorm.io/core"
1413
"github.com/go-xorm/xorm"
14+
"xorm.io/core"
1515
)
1616

1717
func renameRepoIsBareToIsEmpty(x *xorm.Engine) error {

models/migrations/v85.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package migrations
77
import (
88
"fmt"
99

10-
"xorm.io/core"
1110
"github.com/go-xorm/xorm"
11+
"xorm.io/core"
1212

1313
"code.gitea.io/gitea/models"
1414
"code.gitea.io/gitea/modules/generate"

models/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020

2121
// Needed for the MySQL driver
2222
_ "github.com/go-sql-driver/mysql"
23-
"xorm.io/core"
2423
"github.com/go-xorm/xorm"
24+
"xorm.io/core"
2525

2626
// Needed for the Postgresql driver
2727
_ "github.com/lib/pq"

models/org.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"code.gitea.io/gitea/modules/structs"
1616

1717
"github.com/Unknwon/com"
18-
"xorm.io/builder"
1918
"github.com/go-xorm/xorm"
19+
"xorm.io/builder"
2020
)
2121

2222
var (

models/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ import (
3737
"code.gitea.io/gitea/modules/util"
3838

3939
"github.com/Unknwon/com"
40-
"xorm.io/builder"
4140
"github.com/go-xorm/xorm"
4241
ini "gopkg.in/ini.v1"
42+
"xorm.io/builder"
4343
)
4444

4545
var repoWorkingPool = sync.NewExclusivePool()

models/repo_unit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"code.gitea.io/gitea/modules/util"
1111

1212
"github.com/Unknwon/com"
13-
"xorm.io/core"
1413
"github.com/go-xorm/xorm"
14+
"xorm.io/core"
1515
)
1616

1717
// RepoUnit describes all units of a repository

models/review.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
api "code.gitea.io/gitea/modules/structs"
1212
"code.gitea.io/gitea/modules/util"
1313

14+
"github.com/go-xorm/xorm"
1415
"xorm.io/builder"
1516
"xorm.io/core"
16-
"github.com/go-xorm/xorm"
1717
)
1818

1919
// ReviewType defines the sort of feedback a review gives

models/ssh_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
"code.gitea.io/gitea/modules/util"
2626

2727
"github.com/Unknwon/com"
28-
"xorm.io/builder"
2928
"github.com/go-xorm/xorm"
3029
"golang.org/x/crypto/ssh"
30+
"xorm.io/builder"
3131
)
3232

3333
const (

models/unit_tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import (
1818
"code.gitea.io/gitea/modules/setting"
1919

2020
"github.com/Unknwon/com"
21-
"xorm.io/core"
2221
"github.com/go-xorm/xorm"
2322
"github.com/stretchr/testify/assert"
2423
"gopkg.in/testfixtures.v2"
24+
"xorm.io/core"
2525
)
2626

2727
// NonexistentID an ID that will never exist

models/user.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ import (
3232
"code.gitea.io/gitea/modules/util"
3333

3434
"github.com/Unknwon/com"
35-
"xorm.io/builder"
36-
"xorm.io/core"
3735
"github.com/go-xorm/xorm"
3836
"golang.org/x/crypto/pbkdf2"
3937
"golang.org/x/crypto/ssh"
38+
"xorm.io/builder"
39+
"xorm.io/core"
4040
)
4141

4242
// UserType defines the user type

0 commit comments

Comments
 (0)