Closed vihoyau closed 2 months ago
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 👍🏻
I have bumped the Go version, and I believe this is now outdated.
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.