lab002

command
v0.0.0-...-f10d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 1 Imported by: 0

README

panics

注意点

  • CapturePanicAndWait会运行第一个参数传入的函数,要是函数运行有panic, CapturePanicAndWait会处理错误,然后传错误到sentry,然后defer这个错误。(就是省下了我们自己defer的过程)

参考资料

https://docs.sentry.io/clients/go/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL