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

Remove the dependency on github.com/modern-go/reflect2 #691

Open
dominiquelefevre opened this issue Jan 3, 2024 · 1 comment
Open

Remove the dependency on github.com/modern-go/reflect2 #691

dominiquelefevre opened this issue Jan 3, 2024 · 1 comment

Comments

@dominiquelefevre
Copy link

dominiquelefevre commented Jan 3, 2024

reflect2 is too brittle because of the reliance on the internals of the golang's compiler. Moreover, it is no longer maintained: github.com/modern-go/reflect2..

Replace the usages of github.com/modern-go/reflect2 with stdlib's reflect.

@fioncat
Copy link

fioncat commented Mar 18, 2024

Agreed, after i updated go to 1.20, reflect2 panic directly, this is awful.

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

No branches or pull requests

2 participants