Stack test
This commit is contained in:
parent
806f31b69d
commit
031e85ed62
1 changed files with 1 additions and 4 deletions
5
pkg.go
5
pkg.go
|
@ -22,11 +22,8 @@ var (
|
|||
baseDirLength int
|
||||
)
|
||||
|
||||
func init() {
|
||||
debug.PrintStack()
|
||||
}
|
||||
|
||||
func Init() {
|
||||
debug.PrintStack()
|
||||
_, file, _, _ := runtime.Caller(1)
|
||||
fmt.Printf("--\nWRAPPED_ERROR: %s\n--\n", file)
|
||||
dir := path.Dir(file)
|
||||
|
|
Loading…
Add table
Reference in a new issue