package
0.0.0-20231208061952-f10d33120ced
Repository: https://github.com/liguoqinjim/go-labs.git
Documentation: pkg.go.dev
# README
panics
注意点
CapturePanicAndWait
会运行第一个参数传入的函数,要是函数运行有panic,CapturePanicAndWait
会处理错误,然后传错误到sentry,然后defer这个错误。(就是省下了我们自己defer的过程)