Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoWithRecover ¶
func GoWithRecover(f func())
func GzipCompress ¶
func GzipUncompress ¶
func LogCallers ¶
func LogCallers()
func LogRecoverError ¶
func LogRecoverError(err any)
用法如下:
defer func() { if err := recover(); err != nil { util.LogRecoverError(err) } }()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.