Skip to content

time: Duration is missing Milliseconds() and Microseconds() getters #5491

@guillermo

Description

@guillermo
What steps will reproduce the problem?
1. Go to the Documetation of the time pkg expecting to find the Millisecond and
Microsecond helpers for type Duration.

What is the expected output?
func (d Duration) Milliseconds() int64
func (d Duration) Microseconds() int64


What do you see instead?
Nothing 


Which version are you using?  (run 'go version')
1.1

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