-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return concrete types! #34810
return concrete types! #34810
Conversation
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
concrete/iface interface fmt
IMO this is a separate issue / PR. Otherwise, this PR looks great and cleans the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed the deletions and approve providing for checks passing. This PR deletes unnecessary code and replaces usage with essential code.
Filling out the PR comment may be important for getting approvers' review.
I will take care of this, thanks |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
concrete/iface
Description:
As requested this PR removes the unnecessary use of
Those methods returned interfaces which later got implemented by fields of the
*azureScraper
.Now we directly assign them with their concrete types, which were handled through their interfaces before. The implementation of errorhandling was already done earlier.
Link to tracking Issue:
Testing:
Testing was done through the given
scraper_test.go
.Documentation: