fix imports
This commit is contained in:
parent
1027eafde6
commit
fc62dea471
|
@ -20,7 +20,7 @@ var (
|
|||
receiver notification.NotifyReceiver = &actionReceiver{}
|
||||
)
|
||||
|
||||
func ini() {
|
||||
func init() {
|
||||
notification.RegisterReceiver(receiver)
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ var (
|
|||
receiver notification.NotifyReceiver = &indexerReceiver{}
|
||||
)
|
||||
|
||||
func ini() {
|
||||
func init() {
|
||||
notification.RegisterReceiver(receiver)
|
||||
}
|
||||
|
||||
|
|
|
@ -8,13 +8,12 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"code.gitea.io/gitea/modules/notification"
|
||||
|
||||
"code.gitea.io/git"
|
||||
"code.gitea.io/gitea/models"
|
||||
"code.gitea.io/gitea/modules/auth"
|
||||
"code.gitea.io/gitea/modules/context"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/notification"
|
||||
"code.gitea.io/gitea/modules/util"
|
||||
|
||||
api "code.gitea.io/sdk/gitea"
|
||||
|
|
|
@ -14,9 +14,6 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/Unknwon/com"
|
||||
"github.com/Unknwon/paginater"
|
||||
|
||||
"code.gitea.io/git"
|
||||
"code.gitea.io/gitea/models"
|
||||
"code.gitea.io/gitea/modules/auth"
|
||||
|
@ -28,6 +25,9 @@ import (
|
|||
"code.gitea.io/gitea/modules/notification"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
"code.gitea.io/gitea/modules/util"
|
||||
|
||||
"github.com/Unknwon/com"
|
||||
"github.com/Unknwon/paginater"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue
Block a user