chore(security): apply golangci-lint fixes to lookup and security packages

This commit is contained in:
Hein
2026-10-01 13:21:00 +02:00
parent c9fa8c60f2
commit 2516fcb13d
16 changed files with 29 additions and 31 deletions
+2 -1
View File
@@ -3,8 +3,9 @@ package totp
import (
"context"
"fmt"
"github.com/bitechdev/ResolveSpec/pkg/security/sectypes"
"net/http"
"github.com/bitechdev/ResolveSpec/pkg/security/sectypes"
)
// BaseAuthenticator is the subset of security.Authenticator that Authenticator wraps.
+2 -1
View File
@@ -4,8 +4,9 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
"github.com/bitechdev/ResolveSpec/pkg/security/sectypes"
"sync"
"github.com/bitechdev/ResolveSpec/pkg/security/sectypes"
)
// MemoryProvider is an in-memory implementation of AuthProvider for testing/examples
+2 -1
View File
@@ -9,12 +9,13 @@ import (
"encoding/base32"
"encoding/binary"
"fmt"
"github.com/bitechdev/ResolveSpec/pkg/security/sectypes"
"hash"
"math"
"net/url"
"strings"
"time"
"github.com/bitechdev/ResolveSpec/pkg/security/sectypes"
)
// AuthProvider defines interface for 2FA operations