Refactor Awarded Entity in TED Scraper for Consistency

- Renamed the AwardedEntity type to Awarded in the TED scraper to align with recent naming conventions and improve clarity in the codebase.
This commit is contained in:
n.nakhostin
2025-09-28 14:01:54 +03:30
parent 96d3b4fb9c
commit fa288fb3fa
+1 -1
View File
@@ -1643,7 +1643,7 @@ func (s *TEDScraper) extractAwardedEntities(tenderEntity *tender.Tender, can *Co
}) })
for _, contractor := range awardedContractors { for _, contractor := range awardedContractors {
entity := tender.AwardedEntity{ entity := tender.Awarded{
Name: contractor.Name, Name: contractor.Name,
Address: contractor.Address, Address: contractor.Address,
Country: contractor.Country, Country: contractor.Country,