Get returns a user object for the given user ID or nil if the user is not found.
(uid types.Uid)
| 371 | |
| 372 | // Get returns a user object for the given user ID or nil if the user is not found. |
| 373 | func (usersMapper) Get(uid types.Uid) (*types.User, error) { |
| 374 | return adp.UserGet(uid) |
| 375 | } |
| 376 | |
| 377 | // GetAll returns a slice of user objects for the given user IDs. |
| 378 | func (usersMapper) GetAll(uid ...types.Uid) ([]types.User, error) { |