Documentation ¶
Index ¶
Constants ¶
View Source
const CollectionURL = "urls"
View Source
const CollectionUsers = "users"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterUsecase ¶
type URLRepository ¶
type URLUsecase ¶
type UserRepository ¶
type UserRepository interface { Create(ctx context.Context, user *User) (*User, error) GetByID(ctx context.Context, id uuid.UUID) (*User, error) GetByUsername(ctx context.Context, username string) (*User, error) GetByEmail(ctx context.Context, email string) (*User, error) Update(ctx context.Context, user *User) (*User, error) GetByUsernameOrEmail(ctx context.Context, usernameOrEmail string) (*User, error) }
Click to show internal directories.
Click to hide internal directories.