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 1.20 min #933

Merged
merged 9 commits into from
Feb 29, 2024
Merged

Update to go 1.20 min #933

merged 9 commits into from
Feb 29, 2024

Conversation

smallhive
Copy link
Contributor

No description provided.

Closes #928.

Signed-off-by: Evgenii Baidakov <[email protected]>
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.97%. Comparing base (e172160) to head (31c745f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #933      +/-   ##
==========================================
- Coverage   33.60%   27.97%   -5.63%     
==========================================
  Files          64       87      +23     
  Lines       10860    13590    +2730     
==========================================
+ Hits         3649     3802     +153     
- Misses       6803     9371    +2568     
- Partials      408      417       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

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

internal/neofs/tree.go can be simplified in strings.Trim* functions, although CutPrefix is not exactly perfect here, it's mostly that some checks are not needed.

api/layer/encryption/encryption.go can be improved to use bytes.Clone instead of open-coded copying.

.github/workflows/tests.yml Outdated Show resolved Hide resolved
@smallhive smallhive force-pushed the 928-update-to-go-120-min branch from e1722a4 to ff86d36 Compare February 29, 2024 03:27
@roman-khimov
Copy link
Member

#933 (review)

@smallhive
Copy link
Contributor Author

smallhive commented Feb 29, 2024

encryption.go updated. CutPrefix adds the second returning parameter, it is mostly inconvenient

@smallhive smallhive force-pushed the 928-update-to-go-120-min branch from 768e9aa to 31c745f Compare February 29, 2024 10:41
@roman-khimov roman-khimov merged commit 3b42735 into master Feb 29, 2024
11 of 14 checks passed
@roman-khimov roman-khimov deleted the 928-update-to-go-120-min branch February 29, 2024 10:45
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