()
| 15 | type UserService struct{ BaseService } |
| 16 | |
| 17 | func (userService *UserService) getCollection() (collection *mgm.Collection) { |
| 18 | coll := mgm.CollectionByName("user") |
| 19 | return coll |
| 20 | } |
| 21 | |
| 22 | // OneBy function |
| 23 | func (userService *UserService) OneBy(q bson.M) (user *models.User, err error) { |
no outgoing calls
no test coverage detected