Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository struct {
// contains filtered or unexported fields
}
func NewUserRepository ¶
func NewUserRepository(mgc *mgo.Collection) *UserRepository
func (*UserRepository) Delete ¶
func (r *UserRepository) Delete(id string) error
func (*UserRepository) GetAll ¶
func (r *UserRepository) GetAll() (users []models.User)
Click to show internal directories.
Click to hide internal directories.