Skip to content

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

@islishude

Description

@islishude

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions