pkg/op: Replace interface{}
with any
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
This commit is contained in:
parent
868cf39632
commit
e948bed16e
6 changed files with 19 additions and 19 deletions
|
@ -10,7 +10,7 @@ var ErrSignerCreationFailed = errors.New("signer creation failed")
|
|||
|
||||
type SigningKey interface {
|
||||
SignatureAlgorithm() jose.SignatureAlgorithm
|
||||
Key() interface{}
|
||||
Key() any
|
||||
ID() string
|
||||
}
|
||||
|
||||
|
@ -32,5 +32,5 @@ type Key interface {
|
|||
ID() string
|
||||
Algorithm() jose.SignatureAlgorithm
|
||||
Use() string
|
||||
Key() interface{}
|
||||
Key() any
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue