>
> If you are willing to require a pointer receiver, you can do constraint 
> type inference:
> https://go.dev/play/p/L2NiAAM8qE4
>

A single cast worked nicely <https://go.dev/play/p/c4XNFNJIJ6r>, thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0e357953-d602-4324-bc32-5aee3a1ab3ban%40googlegroups.com.

Reply via email to