Skip to content

time: Duration should implement fmt.Formatter #8786

@dsymonds

Description

@dsymonds
It'd be nice if http://play.golang.org/p/KCnUQOPyol printed "[+3us]", which
would require time.Duration implementing fmt.Formatter to get the '+' flag.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions