What I mean is fmt.Println(v3)
and fmt.Println(v3.Elem()) print the same thing. Is it an intended design? On Thursday, February 25, 2021 at 11:11:52 PM UTC-5 Kurtis Rader wrote: > On Thu, Feb 25, 2021 at 8:01 PM tapi...@gmail.com <tapi...@gmail.com> > wrote: > >> >> https://play.golang.org/p/-GZajVGPWYv >> > > You need to clarify your question. I don't see any obvious problem with > the output of your program. The reflect.Value.Elem() call is defined to > return a reflect.Elem object. But that observation might be irrelevant > since you have not clearly stated the problem. > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > -- 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/b6eea02a-1197-4800-a6e1-73096c15170cn%40googlegroups.com.