On Wed, 13 Jul 2016 04:48:18 -0700 (PDT) Harry <hiroma...@gmail.com> wrote:
> func SomethingFunc() { > fmt.Printf("func is %s\n", funcName) > /* code */ > } > > I want to show func name when running each func. > If I could get func name automatically, same code can be used. What problem are you trying to solve with this? -- 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.