Solved. Because they are not named types (being the pointer to the
type).

On Sat, 2019-11-23 at 07:36 +1030, Dan Kortschak wrote:
> Are reflect.Type.PkgPath/Name supposed to return strings for defined
> types? There's nothing in the documentation that says they don't.
> 
> But https://play.golang.org/p/8Jede-mimtA and 
> https://play.golang.org/p/LT5m6yz0P5Y don't show any output where I
> would expect them to.
> 
> Dan
> 
> 
> 

-- 
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/9a619e42bcc2b9353ea74973b36d1ac1b046f2fb.camel%40kortschak.io.

Reply via email to