Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InmemoryRepository ¶
type InmemoryRepository struct {
// contains filtered or unexported fields
}
InmemoryRepository in memory implementation of UserRepository
func NewInmemoryRepository ¶
func NewInmemoryRepository(db map[primitive.ObjectID]*domain.User) *InmemoryRepository
NewInmemoryRepository function will initialize InmemoryRepository
func (*InmemoryRepository) Count ¶
Count function, function will count user data from InmemoryRepository with what filter
Click to show internal directories.
Click to hide internal directories.