Explorar el Código

Let defaultJsonHandler be a json handler interface

xormplus hace 6 años
padre
commit
8b49d2dd32
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      json.go

+ 1 - 1
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