Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustOrLogPanic ¶
MustOrLogPanic @Date 2023-01-12 19:15:33 @Param f func() error @Param msg string @Param field ...zap.Field @Description: 必须完成某一个操作,否则就panic并记录日志
func MustOrPanic ¶
func MustOrPanic(f func() error)
MustOrPanic @Date 2023-01-12 18:23:11 @Param f func() error @Description: 必须完成某个操作,否则就panic
func WrapSimpleError ¶
WrapSimpleError @Date 2023-02-26 21:00:34 @Param msg string @Param err error @Return error @Description: 简单的包装错误
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.