Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserEntityMongo ¶
type UserRepository ¶
type UserRepository struct {
Collection *mongo.Collection
}
func NewUserRepository ¶
func NewUserRepository(database *mongo.Database) *UserRepository
func (*UserRepository) FindUserById ¶
func (ur *UserRepository) FindUserById( ctx context.Context, userId string) (*user_entity.User, *internal_error.InternalError)
Click to show internal directories.
Click to hide internal directories.