Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 8557fec

Browse files
changzeelunny
authored andcommitted
Let defaultJsonHandler be a json handler interface. (#1269)
1 parent 06528a4 commit 8557fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type JSONInterface interface {
1414

1515
var (
1616
// DefaultJSONHandler default json handler
17-
DefaultJSONHandler = StdJSON{}
17+
DefaultJSONHandler JSONInterface = StdJSON{}
1818
)
1919

2020
// StdJSON implements JSONInterface via encoding/json

0 commit comments

Comments
 (0)