Explorar o código

Let defaultJsonHandler be a json handler interface

xormplus %!s(int64=6) %!d(string=hai) anos
pai
achega
8b49d2dd32
Modificáronse 1 ficheiros con 1 adicións e 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