func (m Milliseconds) Duration() time.Duration {
	return time.Millisecond * time.Duration(m)
}
Duration returns the duration with the given number of milliseconds.
package types
import "time"
type Milliseconds int64
func (m Milliseconds) Time() time.Time {
	return time.Unix(0, int64(m)*int64(time.Millisecond/time.Nanosecond))
}