-
Notifications
You must be signed in to change notification settings - Fork 34
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
Update to Go v1.18 #308
Conversation
@@ -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] |
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.
this lint has been deprecated
mongodbatlas/doc.go
Outdated
@@ -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. |
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.
[q] is this a linter requirement?
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.
yes, the lint test was failing because of this
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 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...
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.
you are right. I will try to remove it
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.
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:
Required Checklist:
make fmt
and formatted my codeFurther comments