This seems to work: https://go2goplay.golang.org/p/8veymwXYCoZ

Still uses interfaces internally.

-- 
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/2a2007d9-6c5b-4222-b9e3-a930d4596f77o%40googlegroups.com.

Reply via email to