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 project to use Go v1.19.2 #4470
Conversation
Waiting for pending PR to fix lint issues with deprected APIs. Note we are still not using new features and we are based on 1.17.
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.
👍🏽 Maybe notify on dev channel before merge, so people won't be surprised when trying to build from latest master
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.
some minor comments
@@ -1492,7 +1493,8 @@ func listDiffHelper(it EntryDiffIterator, prefix, delimiter string, limit int, a | |||
} | |||
|
|||
func (c *Catalog) Merge(ctx context.Context, repositoryID string, destinationBranch string, sourceRef string, | |||
committer string, message string, metadata Metadata, strategy string) (string, error) { | |||
committer string, message string, metadata Metadata, strategy string, |
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.
revert
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.
was on auto-merge - I'll revert to oneliner in a different pr.
// // handle err, results, etc.. | ||
// } | ||
// | ||
// func batch(manager RangeManager, bwc BatchWriterCloser) { |
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.
Why do we need all this whitespace?
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.
Part of the changes introduced in Go fmt 1.19 - https://tip.golang.org/doc/go1.19.
When you run gofmt -s -w <file>
it will apply the above on existing code comments.
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.
👍🏽
Close #4472
Fix #4485