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

Update to Go v1.18 #308

Merged
merged 11 commits into from
Aug 16, 2022
Merged

Update to Go v1.18 #308

merged 11 commits into from
Aug 16, 2022

Conversation

andreaangiolillo
Copy link
Collaborator

Description

Please include a summary of the fix/feature/change, including any relevant motivation and context.

Link to any related issue(s):

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Required Checklist:

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

@@ -136,3 +135,4 @@ linters:
# - wastedassign # wastedassign finds wasted assignment statements. [fast: false, auto-fix: false]
# - wrapcheck # Checks that errors returned from external packages are wrapped [fast: false, auto-fix: false]
# - wsl # Whitespace Linter - Forces you to use empty lines! [fast: true, auto-fix: false]
# - ifshort # Checks that your code uses short syntax for if-statements whenever possible [fast: true, auto-fix: false]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this lint has been deprecated

@andreaangiolillo andreaangiolillo marked this pull request as ready for review August 16, 2022 07:41
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner August 16, 2022 07:41
@andreaangiolillo andreaangiolillo requested review from blva and gssbzn and removed request for a team August 16, 2022 07:41
blva
blva previously approved these changes Aug 16, 2022
@@ -33,7 +33,7 @@ pass cancellation signals and deadlines to various services of the client for
handling a request. In case there is no context available, then context.Background()
can be used as a starting point.

Authentication
Authentication.
Copy link

Choose a reason for hiding this comment

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

[q] is this a linter requirement?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, the lint test was failing because of this

Copy link

Choose a reason for hiding this comment

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

I think this is a bit odd. For example, we don't need the dot in line 18. Could you share the rule that requires this? Wondering if we can remove it/search if it's a bug/try to tweak the text to not require this...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you are right. I will try to remove it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Screenshot 2022-08-16 at 10 10 57

@andreaangiolillo andreaangiolillo requested a review from blva August 16, 2022 08:13
@andreaangiolillo andreaangiolillo merged commit c76ae52 into master Aug 16, 2022
@gssbzn gssbzn deleted the go_1_18 branch August 16, 2022 10:37
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