We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2997ab8 commit 2ad09deCopy full SHA for 2ad09de
models/user/openid.go
@@ -15,8 +15,8 @@ import (
15
var ErrOpenIDNotExist = errors.New("OpenID is unknown")
16
17
// UserOpenID is the list of all OpenID identities of a user.
18
-//nolint
19
-type UserOpenID struct { //nolint
+// Since this is a middle table, name it OpenID is not suitable, so we ignore the lint here
+type UserOpenID struct { //revive:disable-line:exported
20
ID int64 `xorm:"pk autoincr"`
21
UID int64 `xorm:"INDEX NOT NULL"`
22
URI string `xorm:"UNIQUE NOT NULL"`
0 commit comments