Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Feb 26, 2022
1 parent ae2509c commit 5a8a1fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion identity/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package identity
import (
"context"
"encoding/json"
"github.com/ory/kratos/hash"
"net/http"
"time"

"github.com/ory/kratos/hash"

"github.com/ory/kratos/x"

"github.com/ory/kratos/cipher"
Expand Down
4 changes: 3 additions & 1 deletion identity/handler_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ package identity
import (
"context"
"encoding/json"

"github.com/pkg/errors"

"github.com/ory/herodot"
"github.com/ory/kratos/hash"
"github.com/ory/kratos/x"
"github.com/pkg/errors"
)

func (h *Handler) importCredentials(ctx context.Context, i *Identity, creds *AdminIdentityImportCredentials) error {
Expand Down
8 changes: 5 additions & 3 deletions identity/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/gofrs/uuid"
"github.com/ory/kratos/hash"
"github.com/ory/x/snapshotx"
"io/ioutil"
"net/http"
"net/http/httptest"
"testing"
"time"

"github.com/gofrs/uuid"

"github.com/ory/kratos/hash"
"github.com/ory/x/snapshotx"

"github.com/bxcodec/faker/v3"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down

0 comments on commit 5a8a1fc

Please sign in to comment.