It's not about who wins the trade. It's about making your team better. Without knowing the rest of your team or which side you received, it's tough to say if you made a good trade or not. In a vacuum,
@Gally is correct, I'd prefer the Team A side. But without the rest of your team we can't say for sure.
Scenario A -- You gave Lamar and Golladay, received Goff and Hill. You could already have Wilson at QB, and if the rest of your team is solid then you just upgraded your WR1 to Hill, and gained the ability for one player to go bonkers and win you the week. Hill is way more likely to do that than Golladay. Losing Lamar is nothing bc you weren't using him. Good trade for you.
Scenario B -- You got Lamar & Golladay, gave Goff and Hill. You significantly upgraded at QB (Goff to Lamar) at the cost of a slight downgrade (but gain in consistency: Hill to Golladay) at WR. Good trade for you.