Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

使用Get()方法单独获取时间会引起奔溃 #644

Open
@Delveshal

Description

@Delveshal

var c time.Time
models.Db.Table("table").Where("name = ?", name).Cols("created").Get(&c)
直接获取结构体并提取其中时间字段没有问题

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions