fix: refactor code to be testable #181

This commit is contained in:
2024-10-12 21:57:39 +02:00
parent 9fd9f9649e
commit 1ed504c49b
19 changed files with 1022 additions and 710 deletions

View File

@@ -2,17 +2,8 @@ package types
import (
"errors"
"github.com/google/uuid"
)
var (
ErrInternal = errors.New("Internal server error")
)
type User struct {
Id uuid.UUID
Email string
SessionId string
EmailVerified bool
}