From cb392c5df633417a0ddcd0cbff5bbc54294ff9c4 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 10 Feb 2019 17:52:24 -0600 Subject: [PATCH] lint: missing comment for errors --- backend/app/rest/httperrors.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/rest/httperrors.go b/backend/app/rest/httperrors.go index 48a815ec..f682b3ec 100644 --- a/backend/app/rest/httperrors.go +++ b/backend/app/rest/httperrors.go @@ -12,6 +12,7 @@ import ( "github.com/go-pkgz/rest" ) +// All error codes for UI mapping and translation const ( ErrInternal = 0 // any internal error ErrCommentNotFound = 1 // can't find comment