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 io reading functions with non-deprecated counterparts #148

Merged
merged 2 commits into from
May 21, 2024

Conversation

machawk1
Copy link
Member

@machawk1 machawk1 commented May 9, 2024

There are a few io function calls to the core Golang API in MemGator that have been deprecated since ~v 1.16 (2021)

The slight fixes in this PR align the calls to that which is recommended in the Go docs. I performed rudimentary testing to ensure consistent behavior of the functions to their deprecated counterparts.

@machawk1 machawk1 requested a review from ibnesayeed May 9, 2024 19:37
@machawk1
Copy link
Member Author

@ibnesayeed Are there any concerns with merging this PR?

main.go Outdated Show resolved Hide resolved
@machawk1 machawk1 requested a review from ibnesayeed May 21, 2024 15:04
Copy link
Member

@ibnesayeed ibnesayeed left a comment

Choose a reason for hiding this comment

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

LGTM!

@machawk1 machawk1 merged commit 7eb75d5 into master May 21, 2024
2 checks passed
@machawk1 machawk1 deleted the fix-deprecated-io branch May 21, 2024 15:07
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