Skip to content

how to scan time.Time? #2295

@ntswamp

Description

@ntswamp

cannot scan redis.result 2022-11-25 16:05:00.5789249 +0900 JST m=+0.000944801 into struct field Account.CreatedAt of type time.Time, error-redis.Scan(unsupported time.Time)

scan without time.Time support makes nonsense. bro time matters, especially for something like a database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions