From 8557fec079c58c33871964e7221715256cfebf5c Mon Sep 17 00:00:00 2001 From: Hac Date: Thu, 11 Apr 2019 16:33:37 +0800 Subject: [PATCH] Let defaultJsonHandler be a json handler interface. (#1269) --- json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.go b/json.go index e3d41a51..fdb6ce56 100644 --- a/json.go +++ b/json.go @@ -14,7 +14,7 @@ type JSONInterface interface { var ( // DefaultJSONHandler default json handler - DefaultJSONHandler = StdJSON{} + DefaultJSONHandler JSONInterface = StdJSON{} ) // StdJSON implements JSONInterface via encoding/json