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:
+1
-1
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user