Skip to content

Commit 1f65068

Browse files
Aeneas Rekkas (arekkas)arekkas
authored andcommitted
all: goimports
1 parent 15ca194 commit 1f65068

File tree

11 files changed

+8
-20
lines changed

11 files changed

+8
-20
lines changed

cmd/cli/handler_migrate.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package cli
22

33
import (
44
"fmt"
5-
65
"net/url"
76
"os"
87
"strings"

cmd/cli/handler_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
package cli
22

33
import (
4-
"testing"
5-
64
"os"
5+
"testing"
76

87
"github.com/jmoiron/sqlx"
98
"github.com/ory/hydra/config"

cmd/cli/handler_warden.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
package cli
22

33
import (
4+
"context"
45
"encoding/json"
56
"fmt"
67

7-
"context"
8-
98
"github.com/ory/hydra/config"
109
"github.com/ory/hydra/oauth2"
1110
"github.com/ory/hydra/pkg"

cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package cmd
33
import (
44
"fmt"
55
"os"
6-
76
"path/filepath"
87
"runtime"
98
"strings"

cmd/token_self.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
package cmd
22

33
import (
4-
"fmt"
5-
4+
"context"
65
"crypto/tls"
6+
"fmt"
77
"net/http"
88

9-
"context"
10-
119
"github.com/ory/hydra/pkg"
1210
"github.com/spf13/cobra"
1311
"golang.org/x/oauth2"

firewall/warden.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
package firewall
33

44
import (
5+
"context"
56
"net/http"
67
"time"
7-
8-
"context"
98
)
109

1110
// Context contains an access token's session data

jwk/aead_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package jwk
22

33
import (
4-
"testing"
5-
64
"crypto/rand"
75
"io"
6+
"testing"
87

98
"github.com/ory/hydra/pkg"
109
"github.com/pborman/uuid"

jwk/generator_ecdsa256.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"crypto/ecdsa"
55
"crypto/elliptic"
66
"crypto/rand"
7-
87
"crypto/x509"
98

109
"github.com/pkg/errors"

jwk/generator_ecdsa521.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"crypto/ecdsa"
55
"crypto/elliptic"
66
"crypto/rand"
7-
87
"crypto/x509"
98

109
"github.com/pkg/errors"

jwk/generator_rs256.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ package jwk
33
import (
44
"crypto/rand"
55
"crypto/rsa"
6-
"fmt"
7-
86
"crypto/x509"
7+
"fmt"
98

109
"github.com/pkg/errors"
1110
"github.com/square/go-jose"

0 commit comments

Comments
 (0)