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

Use new unsafe functions introduced in go 1.20 #187

Closed
wants to merge 1 commit into from

Conversation

xakep666
Copy link
Contributor

This eliminates usage of deprecated and error prone reflect.SliceHeader and reflect.StringHeader. Backwards compatibility saved with build tags

@xakep666 xakep666 force-pushed the better-unsafe branch 2 times, most recently from 82250f9 to 8154550 Compare September 18, 2023 19:35
This eliminates usage of deprecated and error prone `reflect.SliceHeader` and `reflect.StringHeader`. Backwards compatibility saved with build tags
@cristaloleg
Copy link
Collaborator

Why closed?

@xakep666
Copy link
Contributor Author

Because it requires version 1.20 in go.mod, see failed test logs. And I didn't want to break compatibility.

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