improve performance of gdebug

This commit is contained in:
John
2019-10-30 15:12:19 +08:00
parent 6f9bbbf416
commit 38ee5f7d53
4 changed files with 145 additions and 34 deletions

View File

@ -6,6 +6,7 @@ import (
)
func main() {
gdebug.PrintStack()
fmt.Println(gdebug.CallerPackage())
fmt.Println(gdebug.CallerFunction())
}