go fmt
This commit is contained in:
parent
190ee93da8
commit
336941f584
|
@ -58,7 +58,7 @@ func main() {
|
||||||
host = "http://localhost:" + strconv.Itoa(port)
|
host = "http://localhost:" + strconv.Itoa(port)
|
||||||
}
|
}
|
||||||
|
|
||||||
var jwksPrefix string
|
var jwksPrefix string
|
||||||
if nil != prefixFlag && "" != *prefixFlag {
|
if nil != prefixFlag && "" != *prefixFlag {
|
||||||
jwksPrefix = *prefixFlag
|
jwksPrefix = *prefixFlag
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -39,7 +39,7 @@ func init() {
|
||||||
nonces = make(map[string]int64)
|
nonces = make(map[string]int64)
|
||||||
}
|
}
|
||||||
|
|
||||||
func Route(jwksPrefix string , priv *ecdsa.PrivateKey, jwk *PrivateJWK) {
|
func Route(jwksPrefix string, priv *ecdsa.PrivateKey, jwk *PrivateJWK) {
|
||||||
pub := &priv.PublicKey
|
pub := &priv.PublicKey
|
||||||
thumbprint := thumbprintKey(pub)
|
thumbprint := thumbprintKey(pub)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ package mockid
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
//keypairs "github.com/big-squid/go-keypairs"
|
//keypairs "github.com/big-squid/go-keypairs"
|
||||||
//"github.com/big-squid/go-keypairs/keyfetch/uncached"
|
//"github.com/big-squid/go-keypairs/keyfetch/uncached"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue