xorm-redis-cache icon indicating copy to clipboard operation
xorm-redis-cache copied to clipboard

gob 序列化问题

Open liweiv opened this issue 8 years ago • 0 comments

[xorm] [debug] 2017/12/05 18:05:30.548400 [redis_cacher] PutBean|tableName:created_insert|id:��PK����int64|key:xorm:bean:created_insert:��PK����int64|type:*tests.CreatedInsert
[xorm] [debug] 2017/12/05 18:05:30.548903 [redis_cacher] registerGobConcreteType:*tests.CreatedInsert
--- FAIL: TestMysqlWithCache (0.83s)
panic: gob: registering duplicate names for tests.CreatedInsert: "*tests.CreatedInsert" != "github.com/go-xorm/tests.CreatedInsert" [recovered]
        panic: gob: registering duplicate names for tests.CreatedInsert: "*tests.CreatedInsert" != "github.com/go-xorm/tests.CreatedInsert"

liweiv avatar Dec 05 '17 13:12 liweiv