Created
May 13, 2014 02:42
-
-
Save DAddYE/390bf3eb0c49e813a631 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Credits: https://news.ycombinator.com/item?id=7735973 | |
pc, _, line, _ := runtime.Caller(1) | |
name := runtime.FuncForPC(pc).Name() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment