Skip to content

Commit 7e208b3

Browse files
committed
Fix lint
1 parent 7b39108 commit 7e208b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

models/user/redirect.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ func (err ErrUserRedirectNotExist) Error() string {
2828
}
2929

3030
// UserRedirect represents that a user name should be redirected to another
31-
type UserRedirect struct { //nolint
31+
//nolint
32+
type UserRedirect struct {
3233
ID int64 `xorm:"pk autoincr"`
3334
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
3435
RedirectUserID int64 // userID to redirect to

0 commit comments

Comments
 (0)