mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-21 11:28:12 +01:00
Fix lint
This commit is contained in:
parent
60ca53d44e
commit
512365a84f
@ -236,8 +236,10 @@ func (r RoleInRepo) LocaleHelper(lang translation.Locale) string {
|
||||
|
||||
type SpecialDoerNameType string
|
||||
|
||||
const SpecialDoerNameCodeOwners SpecialDoerNameType = "CODEOWNERS"
|
||||
const SpecialDoerNameProjectWorkflow SpecialDoerNameType = "PROJECT_WORKFLOW"
|
||||
const (
|
||||
SpecialDoerNameCodeOwners SpecialDoerNameType = "CODEOWNERS"
|
||||
SpecialDoerNameProjectWorkflow SpecialDoerNameType = "PROJECT_WORKFLOW"
|
||||
)
|
||||
|
||||
type ProjectWorkflowCommentMeta struct {
|
||||
ProjectTitle string
|
||||
|
||||
@ -562,8 +562,8 @@ var globalVars = sync.OnceValue(func() *globalVarsStruct {
|
||||
emailRegexp: regexp.MustCompile("^[a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"),
|
||||
|
||||
systemUserNewFuncs: map[int64]func() *User{
|
||||
GhostUserID: NewGhostUser,
|
||||
ActionsUserID: NewActionsUser,
|
||||
GhostUserID: NewGhostUser,
|
||||
ActionsUserID: NewActionsUser,
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user