type String [T any] struct {
str T
}

fmt.Println(reflect.TypeOf(a).Name())

in generic code, what is the output of relfect type name of generic type?

-- 
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/334a7046-7c64-40e7-832e-09d51366c947n%40googlegroups.com.

Reply via email to