Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tandr opened this issue Aug 6, 2019 · 1 comment
Closed

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

tandr opened this issue Aug 6, 2019 · 1 comment

Comments

@tandr
Copy link

tandr commented Aug 6, 2019

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)?

@dsnet
Copy link
Member

dsnet commented Aug 6, 2019

Duplicate of #414

@dsnet dsnet marked this as a duplicate of #414 Aug 6, 2019
@dsnet dsnet closed this as completed Aug 6, 2019
@golang golang locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants