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

@@ -1,10 +1,10 @@
package model
import (
"time"
"github.com/zitadel/zitadel/internal/domain"
"github.com/zitadel/zitadel/internal/zerrors"
"time"
)
type ExternalIDPView struct {

View File

@@ -1,10 +1,10 @@
package model
import (
"time"
"github.com/zitadel/zitadel/internal/domain"
"github.com/zitadel/zitadel/internal/zerrors"
"time"
)
type RefreshTokenView struct {

View File

@@ -1,10 +1,10 @@
package model
import (
"time"
"github.com/zitadel/zitadel/internal/domain"
"github.com/zitadel/zitadel/internal/zerrors"
"time"
)
type TokenView struct {

View File

@@ -1,10 +1,10 @@
package model
import (
"time"
"github.com/zitadel/zitadel/internal/domain"
"github.com/zitadel/zitadel/internal/zerrors"
"time"
)
type UserMembershipView struct {

View File

@@ -3,8 +3,9 @@ package model
import (
"testing"
user_model "github.com/zitadel/zitadel/internal/user/model"
"golang.org/x/text/language"
user_model "github.com/zitadel/zitadel/internal/user/model"
)
func TestProfileChanges(t *testing.T) {