// Account to Entities Account func AccToEnt(account Account) entities.Account { a := entities.Account{} a.Name = account.Name a.Email = account.Email a.Phone = account.Phone a.Password = account.Password a.Type = account.Type a.Date = account.Date return a }