Documentation
¶
Index ¶
Constants ¶
View Source
const ( Success = ErrHandleResult(iota) NotFound DB_ERROR )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrHandleResult ¶
type ErrHandleResult int
func ErrorHandleAndLog ¶
func ErrorHandleAndLog(c *gin.Context, err error, treatNotFoundAsErr bool, desc string, extra ...interface{}) ErrHandleResult
desc and extra for log
Click to show internal directories.
Click to hide internal directories.