From 47c402c123e47d5bdd76ed3ccf16205f8c9a9b3c Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 21:59:57 -0500 Subject: [PATCH] Unexport http.Error.Code --- http/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/error.go b/http/error.go index 90fac3206..1a3f07c04 100644 --- a/http/error.go +++ b/http/error.go @@ -17,7 +17,7 @@ package http // Error defines a standard application error. type Error struct { // Machine-readable error code. - Code string `json:"code,omitempty"` + code string `json:"code,omitempty"` // Human-readable message. Message string `json:"message"`