add driversLicence model

This commit is contained in:
Alex
2024-09-29 21:16:58 +02:00
parent 41738753f0
commit 8a581da1d8
9 changed files with 135 additions and 16 deletions

View File

@@ -28,7 +28,8 @@ type UserServiceInterface interface {
}
type UserService struct {
Repo repositories.UserRepositoryInterface
Repo repositories.UserRepositoryInterface
Licences repositories.DriversLicenceInterface
}
func (service *UserService) UpdateUser(user *models.User, userRole int8) (*models.User, error) {