Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserModel ¶
type UserModel struct {
C *mongo.Collection
}
UserModel represent a mgo database session with a user model data.
func (*UserModel) Delete ¶
func (m *UserModel) Delete(id string) (*mongo.DeleteResult, error)
Delete will be used to delete a user
Click to show internal directories.
Click to hide internal directories.