(ctx context.Context, username string)
| 126 | } |
| 127 | |
| 128 | func (us *UserCommon) GetByUsername(ctx context.Context, username string) (userInfo *entity.User, exist bool, err error) { |
| 129 | return us.userRepo.GetByUsername(ctx, username) |
| 130 | } |
| 131 | |
| 132 | func (us *UserCommon) UpdateUserProfile(ctx context.Context, userInfo *entity.User) (err error) { |
| 133 | return us.userRepo.UpdateUserProfile(ctx, userInfo) |
nothing calls this directly
no test coverage detected