mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Rename app to Lemma
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
package auth
|
||||
|
||||
import (
|
||||
"lemma/internal/logging"
|
||||
"net/http"
|
||||
"novamd/internal/logging"
|
||||
)
|
||||
|
||||
var logger logging.Logger
|
||||
|
||||
@@ -4,7 +4,7 @@ package auth
|
||||
import (
|
||||
"crypto/rand"
|
||||
"fmt"
|
||||
"novamd/internal/logging"
|
||||
"lemma/internal/logging"
|
||||
"time"
|
||||
|
||||
"github.com/golang-jwt/jwt/v5"
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"novamd/internal/auth"
|
||||
_ "novamd/internal/testenv"
|
||||
"lemma/internal/auth"
|
||||
_ "lemma/internal/testenv"
|
||||
)
|
||||
|
||||
func TestNewJWTService(t *testing.T) {
|
||||
|
||||
@@ -2,9 +2,9 @@ package auth
|
||||
|
||||
import (
|
||||
"crypto/subtle"
|
||||
"lemma/internal/context"
|
||||
"lemma/internal/logging"
|
||||
"net/http"
|
||||
"novamd/internal/context"
|
||||
"novamd/internal/logging"
|
||||
)
|
||||
|
||||
func getMiddlewareLogger() logging.Logger {
|
||||
|
||||
@@ -8,10 +8,10 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"novamd/internal/auth"
|
||||
"novamd/internal/context"
|
||||
"novamd/internal/models"
|
||||
_ "novamd/internal/testenv"
|
||||
"lemma/internal/auth"
|
||||
"lemma/internal/context"
|
||||
"lemma/internal/models"
|
||||
_ "lemma/internal/testenv"
|
||||
)
|
||||
|
||||
// Mock SessionManager
|
||||
|
||||
@@ -2,9 +2,9 @@ package auth
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"novamd/internal/db"
|
||||
"novamd/internal/logging"
|
||||
"novamd/internal/models"
|
||||
"lemma/internal/db"
|
||||
"lemma/internal/logging"
|
||||
"lemma/internal/models"
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"novamd/internal/auth"
|
||||
"novamd/internal/models"
|
||||
_ "novamd/internal/testenv"
|
||||
"lemma/internal/auth"
|
||||
"lemma/internal/models"
|
||||
_ "lemma/internal/testenv"
|
||||
)
|
||||
|
||||
// Mock SessionStore
|
||||
|
||||
Reference in New Issue
Block a user