I am trying to find a way where I can print the names of the function that are present in the stack trace of all the current goroutines.
https://play.golang.org/p/VnLpAAZb_vm
In the above example, I am able to find that main.main() calls main.mine(), but how can I extract the name of that, and also how can I get to know that the main.another() function is also invoked?