Skip to content

proposal: time: add MarshalText/UnmarshalText to time.Duration #60355

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

Closed
islishude opened this issue May 23, 2023 · 2 comments
Closed

proposal: time: add MarshalText/UnmarshalText to time.Duration #60355

islishude opened this issue May 23, 2023 · 2 comments

Comments

@islishude
Copy link
Contributor

should we reconsider the proposal #16039 ?

Adding these methods to time.Duration would make it easier to write and read JSON data containing time.Duration objects.

@gopherbot gopherbot added this to the Proposal milestone May 23, 2023
@ianlancetaylor
Copy link
Member

Per #10275, I don't think we are going to make this change.

@ianlancetaylor ianlancetaylor moved this to Incoming in Proposals May 23, 2023
@seankhliao
Copy link
Member

There's no new information for us to reconsider, and the rules we've decided on say we can't.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2023
@golang golang locked and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants