update
This commit is contained in:
@ -27,7 +27,6 @@ func NewError(status int, msg string) *Error {
|
||||
|
||||
func badRequest(msg string) *Error { return NewError(http.StatusBadRequest, msg) }
|
||||
func unauthorized(msg string) *Error { return NewError(http.StatusUnauthorized, msg) }
|
||||
func conflict(msg string) *Error { return NewError(http.StatusConflict, msg) }
|
||||
func internalErr(msg string) *Error { return NewError(http.StatusInternalServerError, msg) }
|
||||
|
||||
// ErrArticleNotFound 文章不存在,文案与原项目一致。
|
||||
|
||||
Reference in New Issue
Block a user