Skip to content

APIv2: Handle native time.Time in serialized structs #921

Closed
@tandr

Description

@tandr

Is your feature request related to a problem? Please describe.
Looking at the https://golang.org/cl/187857 I see handling of regular types, but not the time.Time which I used very often. If I understood the intent correctly, it should allow to handle "direct" structs with proto serialization

Describe the solution you'd like
Extend default registration of types with time.Time (and maybe time.Duration)?

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