Let defaultJsonHandler be a json handler interface. (#1269)

This commit is contained in:
Hac 2019-04-11 16:33:37 +08:00 committed by Lunny Xiao
parent 06528a4d83
commit 8557fec079
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ type JSONInterface interface {
var (
// DefaultJSONHandler default json handler
DefaultJSONHandler = StdJSON{}
DefaultJSONHandler JSONInterface = StdJSON{}
)
// StdJSON implements JSONInterface via encoding/json