Skip to content

Conversation

@erthalion
Copy link
Contributor

Improvements are mostly style related, like:

  • drop else when there is a return statement in the previous if

  • comments for retry_utils

  • names consistency


s.respond(res, nil, w)
return
err = nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nil is the default.


if counter <= 1 {
return false, nil
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be return counter > 1, nil.

@alexeyklyukin
Copy link
Contributor

👍

1 similar comment
@erthalion
Copy link
Contributor Author

👍

@erthalion erthalion merged commit bf4b0f0 into master Feb 22, 2018
@erthalion erthalion deleted the feature/goreport-improvements branch February 22, 2018 10:31
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.

3 participants