Hi,

The doc for the method type in the reflect package 
(https://golang.org/pkg/reflect/#Method) seems to suggest that it's 
possible to inspect a type's unexported methods:

        // PkgPath is the package path that qualifies a lower case 
(unexported)
        // method name. It is empty for upper case (exported) method names.
        // The combination of PkgPath and Name uniquely identifies a method
        // in a method set.

But I tried a very simple example, and it seems that reflect doesn't see 
unexported methods at all (https://play.golang.org/p/W0vNVQYJgFO)

I wonder if I missed something?

Regards,
Glen

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to