Skip to content

Commit 1037c2b

Browse files
committed
Fix fmt
1 parent 0ff1c49 commit 1037c2b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

models/user/email_address.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ import (
2222
"xorm.io/builder"
2323
)
2424

25-
var (
26-
// ErrEmailNotActivated e-mail address has not been activated error
27-
ErrEmailNotActivated = errors.New("e-mail address has not been activated")
28-
)
25+
// ErrEmailNotActivated e-mail address has not been activated error
26+
var ErrEmailNotActivated = errors.New("e-mail address has not been activated")
2927

3028
// ErrEmailCharIsNotSupported e-mail address contains unsupported character
3129
type ErrEmailCharIsNotSupported struct {

0 commit comments

Comments
 (0)