diff --git a/bootstrap/services/database/json.go b/bootstrap/services/database/json.go index 74c7a30..0218e2f 100644 --- a/bootstrap/services/database/json.go +++ b/bootstrap/services/database/json.go @@ -67,7 +67,7 @@ func (j JSON) Equals(j1 JSON) bool { return bytes.Equal([]byte(j), []byte(j1)) } -func (j *JSON) Trans(v interface{}) error { +func (j JSON) Trans(v interface{}) error { b, _ := j.Value() err := json.Unmarshal([]byte(b.(string)), &v) return err