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

Fix go 1.18 compatibility #138

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

echistyakov
Copy link
Contributor

Fix go 1.18 compatibility

Motivation:

In my earlier PR (#137) - I broke go1.18 compatibility.
(I was not aware this was a requirement for this repo/implementation.)
I used a sync/atomic package which is not available until go1.19.

Modifications:

Restoring the compatibility by using an equivalent go.uber.org/atomic package, rather than sync/atomic.
I see that the rest of the repo is using this package already, and the package is go1.18 compatible.

Result:

I am not entirely sure why the linter missed this on the original PR.
But this change should make everything compatible with go1.18 again.

Copy link
Member

@jjeffcaii jjeffcaii left a comment

Choose a reason for hiding this comment

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

LGTM

@jjeffcaii jjeffcaii merged commit f3f8376 into rsocket:master Jan 5, 2025
2 checks passed
@echistyakov echistyakov deleted the fix_go_1_18_compat branch January 6, 2025 17:28
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