goimports (#16640)
* format using `goimports -local github.com/mattermost/mattermost-server/v5 -w` * added goimports lint check to .golangci.yml * format using `goimports -local github.com/mattermost/mattermost-server/v5 -w` for a corner case * make app-layers, *-mocks and store-layers for ci check Co-authored-by: Mahmudul Haque <mahmudulhaque@protonmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0c2c31bb0a
Коммит
e89b26e8f3
@@ -3,7 +3,9 @@
|
||||
|
||||
package einterfaces
|
||||
|
||||
import "github.com/mattermost/mattermost-server/v5/model"
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type AccountMigrationInterface interface {
|
||||
MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool, dryRun bool) *model.AppError
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
package jobs
|
||||
|
||||
import "github.com/mattermost/mattermost-server/v5/model"
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type CloudJobInterface interface {
|
||||
MakeWorker() model.Worker
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
package einterfaces
|
||||
|
||||
import "github.com/mattermost/logr"
|
||||
import (
|
||||
"github.com/mattermost/logr"
|
||||
)
|
||||
|
||||
type MetricsInterface interface {
|
||||
StartServer()
|
||||
|
||||
Ссылка в новой задаче
Block a user