I am trying to create a generic function which returns
a Container with a slice of the specified type T:
https://go.dev/play/p/GS_x9Y8HOMK
Is this not supported or am I doing something wrong ?

Regards.

-- 
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/08605360-788a-4dab-9745-a6e4ae27fca4n%40googlegroups.com.

Reply via email to