如何隐藏恐慌回溯中的源代码路径?

时间:2018-07-11 10:52:29

标签: go

我想在恐慌回溯中隐藏源代码的路径:

panic: sync: negative WaitGroup counter

goroutine 1034 [running]:
sync.(*WaitGroup).Add(0xc4201b80c0, 0xffffffffffffffff)
        C:/Go/src/sync/waitgroup.go:73 +0x133
sync.(*WaitGroup).Done(0xc4201b80c0)
        C:/Go/src/sync/waitgroup.go:98 +0x34
main.sendVictim(0xc4201c6120, 0xc4201b80c0)
        C:/Users/admin/go/src/devel/vnc/vnc.go:254 +0x200
created by main.main
        C:/Users/admin/go/src/devel/vnc/vnc.go:374 +0x78e
(3:30:

我想隐藏C:/Users/admin/go/src/devel/

我如何做到这一点的?

0 个答案:

没有答案