fix(httpauth-jwt)!: rename package httpauthjwt, bump httpauth and rbac to v1.0.0
Rename package from jwtauth to httpauthjwt to follow ecosystem convention (repo name = package name, hyphens removed). Bump httpauth dependency from v0.1.0 to v1.0.0 and rbac indirect dependency from v0.9.0 to v1.0.0. BREAKING CHANGE: import path unchanged (code.nochebuena.dev/go/httpauth-jwt) but package identifier changes from jwtauth to httpauthjwt — update all usages accordingly.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package jwtauth_test
|
||||
package httpauthjwt_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
jwtauth "code.nochebuena.dev/go/httpauth-jwt"
|
||||
httpauthjwt "code.nochebuena.dev/go/httpauth-jwt"
|
||||
"github.com/golang-jwt/jwt/v5"
|
||||
)
|
||||
|
||||
@@ -25,6 +25,6 @@ func (m *mockBlacklist) Revoke(_ context.Context, _ string, _ time.Duration) err
|
||||
}
|
||||
|
||||
// Compile-time interface satisfaction checks.
|
||||
var _ jwtauth.Signer = (*mockSigner)(nil)
|
||||
var _ jwtauth.Verifier = (*mockVerifier)(nil)
|
||||
var _ jwtauth.Blacklist = (*mockBlacklist)(nil)
|
||||
var _ httpauthjwt.Signer = (*mockSigner)(nil)
|
||||
var _ httpauthjwt.Verifier = (*mockVerifier)(nil)
|
||||
var _ httpauthjwt.Blacklist = (*mockBlacklist)(nil)
|
||||
|
||||
Reference in New Issue
Block a user