Documentation ¶
Index ¶
Constants ¶
View Source
const ( Develop = iota Release )
Variables ¶
This section is empty.
Functions ¶
func GinRecovery ¶
func GinRecovery(stack bool) gin.HandlerFunc
GinRecovery recover掉项目可能出现的panic,并使用zap记录相关日志
Types ¶
Click to show internal directories.
Click to hide internal directories.