Let defaultJsonHandler be a json handler interface. (#1269)
This commit is contained in:
parent
06528a4d83
commit
8557fec079
2
json.go
2
json.go
|
@ -14,7 +14,7 @@ type JSONInterface interface {
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// DefaultJSONHandler default json handler
|
// DefaultJSONHandler default json handler
|
||||||
DefaultJSONHandler = StdJSON{}
|
DefaultJSONHandler JSONInterface = StdJSON{}
|
||||||
)
|
)
|
||||||
|
|
||||||
// StdJSON implements JSONInterface via encoding/json
|
// StdJSON implements JSONInterface via encoding/json
|
||||||
|
|
Loading…
Reference in New Issue