I think I'm very likely misunderstanding your question. Would you mind
providing more detail?
You can definitely call methods within a function, even if they're defined
in the same package. In this example, I call a method from the type "myInt"
in the main function: https://play.golang.org/p/AAjVZ
Hi,
One can call global function of same package from inside a function, But I
am curious if I can call a method from inside a function?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails fro