Let defaultJsonHandler be a json handler interface.

This commit is contained in:
章浩畅 2019-04-10 20:03:05 +08:00
parent 06528a4d83
commit dd978f3585
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