fix: refactor code to be testable #181
This commit was merged in pull request #212.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user