Skip to content
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

Improvement ideas and some bug fixes #5

Merged
merged 1 commit into from
Aug 27, 2021
Merged

Improvement ideas and some bug fixes #5

merged 1 commit into from
Aug 27, 2021

Conversation

ermanimer
Copy link
Contributor

app.go

  • Simplify return statement in Run method
  • Clone default transport instead of creating a new one in GetResult method
  • Remove unnecessary context since HTTP client timeout covers the entire exchange in GetResult method
  • Handle ignored errors

app_test.go

  • Handle ignored errors
  • Fix typos

app.go
* Simplify return statement in Run method
* Clone default transport instead of creating a new one in GetResult method
* Remove unnecessary context since HTTP client timeout covers the entire exchange in GetResult method
* Handle ignored errors

app_test.go
* Handle ignored errors
* Fix typos
@vigo vigo merged commit 7bc824f into vigo:main Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants