refactor(fmt): run gci on complete project (#7557)

chore(fmt): run gci on complete project

Fix global import formatting in go code by running the `gci` command. This allows us to just use the command directly, instead of fixing the import order manually for the linter, on each PR.

Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
Tim Möhlmann
2024-04-03 13:43:43 +03:00
committed by GitHub
parent 093dd57a78
commit 25ef3da9d5
103 changed files with 92 additions and 139 deletions

View File

@@ -11,7 +11,7 @@ import (
"github.com/zitadel/zitadel/internal/eventstore"
)
//Want represents the expected values for each step
// Want represents the expected values for each step
type Want struct {
ValidationErr error
CreateErr error
@@ -22,7 +22,7 @@ type CommandVerifier interface {
Validate(eventstore.Command) bool
}
//AssertValidation checks if the validation works as inteded
// AssertValidation checks if the validation works as inteded
func AssertValidation(t *testing.T, ctx context.Context, validation preparation.Validation, filter preparation.FilterToQueryReducer, want Want) {
t.Helper()