Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pc, file, line, ok := runtime.Caller(2)
- rt := runtime.FuncForPC(pc)
- return rt.Name() // Foo
- Foo(1,2,3)
- // Foo_1_2_3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement