reflections icon indicating copy to clipboard operation
reflections copied to clipboard

Update reflections.go

Open vihoyau opened this issue 2 years ago • 1 comments

when i use go version 1.19, it will throw the panic: panic: reflect.Value.Interface: cannot return value obtained from unexported field or method i change the " reflect.Interface{}" to "reflect", its ok.

vihoyau avatar Sep 22 '22 07:09 vihoyau

Thanks for your contribution 🙇🏻 Interesting 👀

Thanks for pointing that out. At the moment the module supports down to version Go 1.15. I imagine this PR would probably break older versions. This means we would need to publish a new major version of the library to support 1.19, and would probably need to add a bunch of tests also.

I'll create a dedicated milestone, and prepare for doing just that. This PR will fall into this new version then 👍🏻

oleiade avatar Sep 27 '22 08:09 oleiade

I have bumped the Go version, and I believe this is now outdated.

oleiade avatar Aug 24 '24 16:08 oleiade