Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

gob 序列化问题 #2

@liweiv

Description

@liweiv
[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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions